It works. i get the message in deadletterchannel after the retries I specify. 
I use this configuration:
errorHandler(deadLetterChannel(
        
"jbi:service:http://servicemix.in2m.com/samples/http/JMSServiceCamelErrorHandler?mep=in-only";)
                .maximumRedeliveries(2).useExponentialBackOff());

    
from("jbi:service:http://servicemix.in2m.com/samples/http/httpConsumer";)
           
.to("jbi:service:http://servicemix.in2m.com/samples/http/MyProviderService";)
           
.to("jbi:service:http://servicemix.in2m.com/samples/http/bean2Service";);

It retries the message delivery 2 times. OK. works great.

If I want to specify that my first attempt should be after 10 minutes then
second after say 20 minutes from the  first attempt. and like wise the next
attempts should happen with the timespan between two attempts always
increased. That is it should be exponential.
Where can I specify it. How useExponentialBackOff() works? I think this is
going to help me. i am using camel inside servicemix.

Pratibha
-- 
View this message in context: 
http://www.nabble.com/How-does-camel-dead-letter-channel-work--tp18026494s22882p18084684.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to