Hi

How about a feature on the RedeliveryPolicy where you would be able to
suspend or stop a route or even context when the retries gets exhausted ? 

Something like :
<onException>
                <exception>java.lang.Exception</exception>
                <redeliveryPolicy backOffMultiplier="2" maximumRedeliveries="3"
redeliveryDelay="1000" 
                        useExponentialBackOff="true" logRetryAttempted="true"
retryAttemptedLogLevel="WARN"         onExhausted="suspend"/>
</onException>

You would then be able to inspect and fix the problem, and then later on
resume the route.

Sometimes DeadletterQueues are not an option when you have in sequence
requirements,  and at the same time are not allowed to loose messages.

/Preben






--
View this message in context: 
http://camel.465427.n5.nabble.com/Possibility-to-suspend-route-or-context-in-RedeliveryPolicy-tp4963505p4963505.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to