POJO Messaging Example
has been edited by Jonathan Anstey
(Jan 27, 2009).
This example shows that you don't need to learn Camel's super cool DSLs if you don't want to. Camel has a set of annotations that allow you to produce, consume or route messages to endpoints.
This requires Camel 2.0, the camel-jms component and Apache ActiveMQ. Of course, since we are using Maven these dependencies will be downloaded automatically.
The README.txt states how to run the example from either Ant or Maven.
Here's how to run it with Maven:
When you start the example up you'll see a whole bunch of logs that won't really mean anything to you The interesting stuff is happening in the background. Here's a diagram of whats going on.