[CONF] Apache Camel: POJO Messaging Example (page edited)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[CONF] Apache Camel: POJO Messaging Example (page edited)

Dhiraj Bokde (Confluence)

POJO Messaging Example has been edited by Jonathan Anstey (Jan 27, 2009).

(View changes)


POJO Messaging Example


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.

Running the example

The README.txt states how to run the example from either Ant or Maven.

Here's how to run it with Maven:

mvn camel:run

Whats happening?

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.


See also