camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmland <>
Subject onException problem
Date Thu, 23 Feb 2012 07:53:46 GMT
I use the globel OnException to catch exception , and before deliver to the
DLQ,I use a 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:redeliveryPolicy maximumRedeliveries="2"/>
			<camel:process ref="myProcess"></camel:process>
			<camel:to uri="ESBMQ:DEAD?disableReplyTo=true"  ></camel:to>

		<camel:route   >
			<camel:from uri="ESBMQ:FROM?disableReplyTo=true"></camel:from>
			<camel:process ref="conver"></camel:process>
			<camel:to uri="ESBMQ:TO?disableReplyTo=true"></camel:to>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message