camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvahdat <>
Subject Re: Camel Components as Pojos
Date Fri, 16 Dec 2011 16:45:51 GMT
Hi Diwakar,

just in the case it's still not clear to you how to take advantage of Apache
Camel *without* defining any routes the examples in [1] could clarify this
for you.

As you see there, thanks to Apache Camel we can send a JMS message to the
Broker with *one single* line of code:

// send to a specific queue
template.sendBody("activemq:MyQueue", "<hello>world!</hello>");

However using the pure JMS-API there would be much more coding to do...

And the counterpart of ProducerTemplate (message producing) is the
ConsumerTemplate [2] (message consuming) 



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message