You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by pratibhaG <pr...@in2m.com> on 2008/08/13 09:16:07 UTC

servicemix 3.2.2 camel redelivery not working

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-tp18958124p18958124.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.