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) 

[1] http://camel.apache.org/producertemplate.html
[2] http://camel.apache.org/polling-consumer.html

Babak

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Components-as-Pojos-tp5080073p5080801.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to