Hi ActiveMQ also has its own error handling mechanism with Dead Letter Queues.
On Tue, Apr 20, 2010 at 10:32 PM, jfaath <jfa...@apache.org> wrote: > > I have a camel application that's using a remote ActiveMQ broker instance. > Messages come in to the application via HTTP and are sent to a "inbound" > queue using "inOnly". Messages are then processed and sent to a "processed" > queue. Finally, if an error occurred during processing, those messages are > sent to an "errors" queue. > > So, ideally at the end, there should only be messages either in the > "processed" queue or the "errors" queue. Actually, I don't really care if > they end up in the "processed" queue, but I definitely need to see the > messages in the "errors" queue. > > However, what ends up happening is, full messages stay in the "inbound" > queue under "pending messages", messages are processed as expected but > nothing ends up in the "processed" queue and while messages resulting in > errors do end up in the "errors" queue, the message body is gone. > > I'm using the ActiveMQ web console to inspect the queues. The "processed" > queue is the only one that has a consumer attached to it (which explains why > it ends up with no messages). Is this expected behavior? How can I have > control over what is happening with messages in these queues using camel > routes? Really what I most need fixed is to not lose the body of the > message in the error queue. > > -JF > -- > View this message in context: > http://old.nabble.com/Remote-broker-message-behavior-tp28287920p28287920.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus