camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swwyatt <>
Subject onException with redeliveryPolicyRef not working
Date Fri, 12 Jul 2013 19:06:37 GMT

I have a route with an onException that references a spring bean redelivery
policy. It appears that the reference is not working as I have a
maximumRetries set but no retries are attempted. If I use the onException
with a child element <redeliveryPolicy maximumRedeliveries="5" /> it works

Does anyone know how to make this work?


<bean id="redeliverMe" class="org.apache.camel.processor.RedeliveryPolicy">
	<property name="maximumRedeliveries"

<camel:camelContext id="mycontext">
		<camel:route id="routeAAA">
			<camel:from ref="aaa"></camel:from>
			<camel:transacted ref="PROPAGATION_REQUIRED"></camel:transacted>
			<camel:onException redeliveryPolicyRef="redeliverMe">
			<camel:process ref="someProcessor"></camel:process>

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

View raw message