Friday, 25 May 2012

akka, camel and jruby

After reading Programming Concurrency on the JVM: Mastering Synchronization, STM, and Actors by Venkat Subramaniam I tried my first akka project in jruby.

To be somehow useful, it had to cope with true messaging (ActiveMQ), so the choice for the glue technology was Apache Camel and Spring.
The hardest part was:
  • getting right the header  (schema and namespace definition) in camel-context.xml. The matter is akka changed namespace at least twice;
  • gathering all dependecies. In fact I didn't use maven or similar so I had to search all jars nearly one by one.
You can have a look at the resulting code at: https://github.com/francescm/akka-camel-jruby

No comments: