You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2009/11/19 05:57:45 UTC

Re: maximumRedeliveryDelay applies even if you are not using exponential back off

On Wed, Nov 18, 2009 at 10:04 PM, Dragisa Krsmanovic
<dk...@plos.org> wrote:
> To set redelivery delay to more than 60000, I had to set both
> redeliverDelay and maximumRedeliveryDelay.
>
> onException(Exception.class)
> .handled(true)
> .maximumRedeliveries(3)
> .maximumRedeliveryDelay(70000l)
> .redeliverDelay(70000l);
>
> Javadocs say that maximumRedeliveryDelay "Sets the maximum redelivery
> delay if using exponential back off." But it seems that it applies
> always. Maybe you just need to change the docs to reflect that ?
>

Yeah both needs to be fixed. I guess setting a redelivery delay >
60000 should change the max as well to that value.
Its however meant to prevent when using backoff the delay to get
extremely large.

Let me fix it asap

>
>
> --
> Dragisa Krsmanovic
> Java Developer
> Public Library of Science
> http://www.plos.org
>
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This email is confidential to the intended recipient. If you have received it in error, please notify the sender and delete it from your system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions presented are solely those of the sender and do not necessarily represent those of Public Library of Science unless otherwise specifically stated. Please note that neither Public Library of Science nor any of its agents accept any responsibility for any viruses that may be contained in this e-mail or its attachments and it is your responsibility to scan the e-mail and attachments (if any).
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: maximumRedeliveryDelay applies even if you are not using exponential back off

Posted by Claus Ibsen <cl...@gmail.com>.
Fixed now
https://issues.apache.org/activemq/browse/CAMEL-2201

On Thu, Nov 19, 2009 at 5:57 AM, Claus Ibsen <cl...@gmail.com> wrote:
> On Wed, Nov 18, 2009 at 10:04 PM, Dragisa Krsmanovic
> <dk...@plos.org> wrote:
>> To set redelivery delay to more than 60000, I had to set both
>> redeliverDelay and maximumRedeliveryDelay.
>>
>> onException(Exception.class)
>> .handled(true)
>> .maximumRedeliveries(3)
>> .maximumRedeliveryDelay(70000l)
>> .redeliverDelay(70000l);
>>
>> Javadocs say that maximumRedeliveryDelay "Sets the maximum redelivery
>> delay if using exponential back off." But it seems that it applies
>> always. Maybe you just need to change the docs to reflect that ?
>>
>
> Yeah both needs to be fixed. I guess setting a redelivery delay >
> 60000 should change the max as well to that value.
> Its however meant to prevent when using backoff the delay to get
> extremely large.
>
> Let me fix it asap
>
>>
>>
>> --
>> Dragisa Krsmanovic
>> Java Developer
>> Public Library of Science
>> http://www.plos.org
>>
>>
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> This email is confidential to the intended recipient. If you have received it in error, please notify the sender and delete it from your system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions presented are solely those of the sender and do not necessarily represent those of Public Library of Science unless otherwise specifically stated. Please note that neither Public Library of Science nor any of its agents accept any responsibility for any viruses that may be contained in this e-mail or its attachments and it is your responsibility to scan the e-mail and attachments (if any).
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus