camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: Using Apache Camel ProducerTemplate class to create a JMS message with headers and properties
Date Fri, 30 Mar 2012 17:24:11 GMT
Be aware that camel headers are not jms headers and camel properties are 
not jms properties.

The producerTemplate always means camel headers and properties. You have 
to consult the camel-jms component to see what camel headers
you need to set to change jms headers and properties. As far as I know 
you do not need the camel properties.


Am 30.03.2012 19:06, schrieb bjacob:
> Hello Everyone -
> I'm new to Apache camel and my question may seem very simple.
> I was trying to create a JMS message using Camel with the ProducerTemplate
> class. This JMS message will have headers like (JMSReplyTo) and customer
> properties (say SOAPHeader etc).
> I couldn't find a 'send' function in the ProducerTemplate class which can be
> used to send Body, Headers and Properties. I see sendBodyAndHeaders and
> sendBodyAndProperty functions but not for all the three together.
> Can someone help me on this?
> Thanks
> Boney Jacob
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Christian Schneider

Open Source Architect
Talend Application Integration Division

View raw message