You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by zzkozak <ma...@pikula.de> on 2013/07/23 17:13:00 UTC

Exponential BackOff ignored

Hi,

 I'm using the following route and wonder why the exponential back off isn't
working. Each call to the *orderServiceBean* is performed exactly after
4Minutes (240000ms) and not as expected after 4,8,16min, etc.



 Thanks in advance,
Marcin



--
View this message in context: http://camel.465427.n5.nabble.com/Exponential-BackOff-ignored-tp5736138.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exponential BackOff ignored

Posted by zzkozak <ma...@pikula.de>.
Thank you for the hint.

The error handler looks like:



In case the exception isn't of type  the redelivery would be repeated 3
times each 30sec. But my log file tells me, that the message is delivered 11
times, with a delay of 4minutes. After that, an email is send to me. So I'm
pretty sure that the configuration is working ... but not using the
exponential multiplier :(



--
View this message in context: http://camel.465427.n5.nabble.com/Exponential-BackOff-ignored-tp5736138p5736215.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exponential BackOff ignored

Posted by Bilgin Ibryam <bi...@gmail.com>.
I can see you also have an errorHandler for that route. Is it possible
that the exception thrown is not OrderNotFoundException and it is
caught not by the onException, but by the error handler which doesn't
have exponential backoff?

B.

On 24 July 2013 13:39, zzkozak <ma...@pikula.de> wrote:
> Ok, I'll try and give feedback.
>
> Did I configured it properly?
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Exponential-BackOff-ignored-tp5736138p5736210.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exponential BackOff ignored

Posted by zzkozak <ma...@pikula.de>.
Ok, I'll try and give feedback.

Did I configured it properly?




--
View this message in context: http://camel.465427.n5.nabble.com/Exponential-BackOff-ignored-tp5736138p5736210.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exponential BackOff ignored

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Try with a newer versions as we fix stuff in them, as we say here
http://camel.apache.org/support

On Tue, Jul 23, 2013 at 5:13 PM, zzkozak <ma...@pikula.de> wrote:
> Hi,
>
>  I'm using the following route and wonder why the exponential back off isn't
> working. Each call to the *orderServiceBean* is performed exactly after
> 4Minutes (240000ms) and not as expected after 4,8,16min, etc.
>
>
>
>  Thanks in advance,
> Marcin
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Exponential-BackOff-ignored-tp5736138.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen