camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: Redelivery with multiple transacted routes
Date Thu, 19 Jan 2012 17:13:55 GMT
I didn't mean to put an onException() on the second route *but* on the global
scope, so something like:

<onException useOriginalMessage="true">
   <exception>java.lang.Exception</exception>
   <redeliveryPolicy maximumRedeliveries="3" redeliveryDelay="5000" />
   <handled>
     <constant>true</constant>
   </handled>
   <to uri="activemq:queue:pendingMessage" />
</onException>


<route id="routeA">
   <from uri="activemq:queue:traiterReponse" />
   <transacted />
   <bean ref="processor1" />
   <to uri="direct:traiterReponse" />
</route>

<route id="routeB">
   <from uri="direct:traiterReponse" />
   <bean ref="processor2" />
   <to uri="log:output" />
</route>



--
View this message in context: http://camel.465427.n5.nabble.com/Redelivery-with-multiple-transacted-routes-tp5158209p5158309.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message