You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cmland <qi...@gmail.com> on 2012/02/23 08:53:46 UTC
onException problem
I use the globel OnException to catch exception , and before deliver to the
DLQ,I use a process.my problem is that :
when the process occur a exception, the route roll back.the message
route ,and roll back again... It has been circulating.
cxf version 2.6.0,
my xml configuration like this:
<camel:onException useOriginalMessage="true" >
<camel:exception>java.lang.Exception</camel:exception>
<camel:redeliveryPolicy maximumRedeliveries="2"/>
<camel:handled><camel:constant>true</camel:constant></camel:handled>
<camel:process ref="myProcess"></camel:process>
<camel:to uri="ESBMQ:DEAD?disableReplyTo=true" ></camel:to>
</camel:onException>
<camel:route >
<camel:from uri="ESBMQ:FROM?disableReplyTo=true"></camel:from>
<camel:transacted></camel:transacted>
<camel:process ref="conver"></camel:process>
<camel:to uri="ESBMQ:TO?disableReplyTo=true"></camel:to>
</camel:route>
--
View this message in context: http://camel.465427.n5.nabble.com/onException-problem-tp5507295p5507295.html
Sent from the Camel - Users mailing list archive at Nabble.com.