camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Zapletal <>
Subject Wait for transaction commit when putting messages on JMS queue using inOnly
Date Sat, 01 Sep 2012 14:04:01 GMT
Hi Camel folks,

I have the following route configuration


The goal of the second .inOnly ("custom:storeMonitoringInformation") is 
to store some monitoring information about the message after it was been 
enqueued in q2. However, in case that the transaction commit fails 
(i.e., the message could not be inserted in q2), the monitoring entry is 
stored anyway.

What is the recommended solution to deal with this issue - i.e., to wait 
for a successful transaction commit before continuing with the route.

Thanks and best regards,


View raw message