Hi,
I am using Camel 1.3, and try to overwrite the default redeliveryPolicy on
one of the route.
I tried with the following spring configuration, and I didn't have problem
starting
application, but the maximumRedeliveries was still using default value 5.
Is it possible to do that in Camel 1.3 (I can't upgrade to 1.4/1.5 just
yet)?
Thanks,
-O
<camelContext id="mycontext" autowireRouteBuilders="false"
xmlns="http://activemq.apache.org/camel/schema/spring">
<route>
<from uri="my:src"/>
<onException>
<exception>
java.lang.Exception
</exception>
<redeliveryPolicy>
<maximumRedeliveries>2</maximumRedeliveries>
</redeliveryPolicy>
</onException>
<to uri="md:x.queue"/>
<to uri="bean:xxr"/>
</route>
</camelContext>
--
View this message in context:
http://www.nabble.com/Camel-1.3---how-to-overwrite-redeliveryPolicy-via-Spring-XML-tp20274414s22882p20274414.html
Sent from the Camel - Users mailing list archive at Nabble.com.