Hi Marco, You need to set the parameter 'disableReplyTo=true' on the jms consumer endpoint. That should fix it.
Best Regards, Scott ES On Wed, Mar 27, 2013 at 4:04 PM, Marco Crivellaro <marco.cr...@gmail.com>wrote: > Hi, > I have a very simple route where messages are sent to an ActiveMQ queue > with > JMSReplyTo header set which I would like to ignore. I cannot avoid setting > the header as messages are pushed using composite destination by another > component. > > I've set the route as following but the messages are still going out to the > queue qualified by replyto header: > > <route> > <from uri="jms:queue:replyto.test" /> > <to uri="bean:myTestProcessor" pattern="InOnly" /> > </route> > > is there any way to ignore the replyto header so no messages are being sent > back to ActiveMQ? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Ignore-JMSReplyTo-tp5729973.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- -- Scott England-Sullivan Apache Camel Committer Principal Consultant / Sr. Architect | Red Hat, Inc. FuseSource is now part of Red Hat Web: fusesource.com <http://www.fusesource.com> | redhat.com<http://www.redhat.com> Blog: sully6768.blogspot.com Twitter: sully6768