I have  following exception handling code  in one of my camel components:

exception(java.net.SocketException.class)
        .maximumRedeliveries(5)
        .useExponentialBackOff()
        .initialRedeliveryDelay(300000L)
        .backOffMultiplier(2.0)
        .intercept(new
CustomDelegateProcessor(ErrorConstants.SOCKET_ERROR));
           
When any socket exception occurs, this code is invoked the request is
retried for given maximumRedeliveries(5), but it does not respect any of
following three:
.useExponentialBackOff()
.initialRedeliveryDelay(300000L)
.backOffMultiplier(2.0)

It always sends the message after 60000 ms. Why is it so?

Pratibha
-- 
View this message in context: 
http://www.nabble.com/servicemix-3.2.2-camel-redelivery-not-working-properly-tp18958124p18958124.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to