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.