I would like to capture the exception that caused an ActiveMQ rollback when using Apache Camel. I would also like to associate it with the message (by message id?) so that I can find the exception again when I am processing the message in an ActiveMQ DLQ.
What is the best way to accomplish this with Apache Camel? Currently I am using bean components that are abstracted from JMS. Without Camel I would catch the exception in onMessage and write it out along with the message id found in the Message object. I don't really have this option when dealing with bean components. Is there a way to place an interceptor in the ActiveMQ or transaction components to let me capture the exception and JMS message id on rollback? Thanks. -- View this message in context: http://www.nabble.com/Capturing-Exception-Causing-ActiveMQ-Rollback-tp22916317p22916317.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.