camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-3344) RedeliveryPolicy does not honor MaximumRedeliveryDelay
Date Thu, 18 Nov 2010 08:51:25 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-3344:
----------------------------------

    Assignee: Claus Ibsen

> RedeliveryPolicy does not honor MaximumRedeliveryDelay
> ------------------------------------------------------
>
>                 Key: CAMEL-3344
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3344
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Lorrin Nelson
>            Assignee: Claus Ibsen
>
> When using exponential retry back-off with a maximumRedeliveryDelay, the delay is not
honored.
> The bug is in RedeliveryPolicy.java's calculateRedeliveryDelay method:
>         if (maximumRedeliveryDelay > 0 && redeliveryDelay > maximumRedeliveryDelay)
{
>             redeliveryDelayResult = maximumRedeliveryDelay;
>         }
> redeliveryDelay is the initial delay and never increases, so the max is never applied.
It needs to compare against redeliveryDelayResult instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message