Hi,
We try to define the JMS header property JMSExpiration in a camel route
like this
<from uri=""/>
<to uri="bean:toto"/>
<setHeader headerName="JMSExpiration ">
<constant>1000</constant>
</setHeader>
<to uri="activemq;topic:toto"/>
Unfortunately, messages are created in the topic but the JMSExpiration
header is not set.
Can we configure the route like or do we have to use a producerTemplate
where we can provide the Body and Headers ?
Regards,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - Karaf - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com | Twitter :
http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard