camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ODarwish <othman.darw...@progressoft.com>
Subject Re: camel managed redelivery for transacted routes that fail during a JTA transaction.
Date Tue, 12 Mar 2013 15:13:17 GMT
Hi ,

maybe you can start new route on the exception case and  retry again , if
this help , in the new route you need to start new transaction and marke the
old one as rollback , somthing like this 


<onException>
<exception>xyz</exception>
<handled>
<constant>true</constant>
</handled>
<to uri="seda:startNewRetry" />
<rollback markRollbackOnlyLast="true" />
</onException>


<route >
<from  uri="seda:startNewRetry"/>
<transacted ref="PROPAGATION_REQUIRES_NEW" />
.
.
.

</route>

 



-----
Othman Darwish
ProgressSoft Corp.

--
View this message in context: http://camel.465427.n5.nabble.com/camel-managed-redelivery-for-transacted-routes-that-fail-during-a-JTA-transaction-tp5713644p5729000.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message