camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From greenbean <>
Subject Capturing Exception Causing ActiveMQ Rollback
Date Mon, 06 Apr 2009 20:12:36 GMT

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?

View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

View raw message