You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/11/18 11:13:25 UTC
[jira] Resolved: (CAMEL-3344) RedeliveryPolicy does not honor
MaximumRedeliveryDelay
[ https://issues.apache.org/activemq/browse/CAMEL-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3344.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
trunk: 1036381.
Thanks for reporting.
> 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
> Fix For: 2.6.0
>
>
> 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.