Re: Dead Letter Queue and detect message

2015-11-11 Thread Michele
Hi Christopher, first of all thank you for your reply. I read topics that you suggested and i follow also this link http://camel.apache.org/activemq.html Consuming Advisory Messages section configuring ActiveMQ using conntection pooling and a route inside Camel Context to retrieve AdvisoryMsg

Re: Dead Letter Queue and detect message

2015-11-10 Thread Christopher Shannon
I forgot to mention that the copy of the message will be off by default. As of 5.12.0, you can enable the advisory message to contain a copy of the original message by setting the includeBodyForAdvisory property to true on the destination policy or default policy that is used. This option is descr

Re: Dead Letter Queue and detect message

2015-11-10 Thread Christopher Shannon
Yes, you can listen to the advisory messages for DLQ'd messages. An advisory will be sent when a message is moved to DLQ and the advisory will contain a copy of the message. The advisory topics to listen on are ActiveMQ.Advisory.MessageDLQd.Queue and ActiveMQ.Advisory.MessageDLQd.Topic Take a lo