Which version of Camel are you using? If you want to route the message between two rabbitMQ endpoint you need to setup the option of bridgeEndpoint just like this.
<route> <camel:from uri="rabbitmq://localhost:5672/inbox?username=guest&password=guest" /> <camel:to uri="rabbitmq://localhost:5672/outBox?username=guest&password=guest&bridgeEndpoint=true" /> </route> -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 18, 2015 at 7:20:54 PM, prajath (prajig...@gmail.com) wrote: > Hi All, > could you please help me to resolve the problem I am facing when forwarding > message from one queue to another , please see the spring xml. > thanks in advance > prajath > > > > uri="rabbitmq://localhost:5672/outBox?sername=guest&password=guest" > /> > > > > > uri="rabbitmq://localhost:5672/inbox?username=guest&password=guest" > /> > > > uri="rabbitmq://localhost:5672/outBox?username=guest&password=guest" > /> > > > > > > ${body}Message at ${date:now:yyyy-MM-dd HH:mm:ss} > > > > uri="rabbitmq://localhost:5672/inbox?username=guest&password=guest" > /> > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/rabbitMQ-message-forwarding-from-one-queue-to-another-tp5771632.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >