Thursday, November 26, 2009

Fun with Camel Web Console


I've been playing with Apache Camel lately. I came across the camel-web console earlier but just got around to play with the source.


I find the project interesting because:
  • It provides a Restful API to the routes, end-points, components ... , using Jersey jax-rs RI
  • Uses JAXB for xml request content
  • Content-type representation include Graphvic DOT file and even route definition in Groovy
You can send message (http POST to endpoint Restful URI), as well as create/modify routes interactively. Great for quick verification of concepts.



I do have a couple minor problems when building and running from source (881214):
  • The version (1.3-dev) of maven-jaxb-schemagen-plugin does not exists on java.net Maven 2 Repo. I needed to add the Fuse Repo (http://repo.fusesource.com/maven2/) to the pluginRepositories.
  • mvn jetty:run failed with ClassNotFoundException on sitemesh PageFilter. mvn jetty:run-war works
Also as a side note, here is an interesting comment on Mule and Camel:
"Camel will overtake Mule in the next couple of years, easily"


No comments: