/[Apache-SVN]
ViewVC logotype

Revision 1078189


Jump to revision: Previous Next
Author: tabish
Date: Fri Mar 4 22:39:11 2011 UTC (13 years, 7 months ago)
Changed paths: 2
Log Message:
Fix for: https://issues.apache.org/jira/browse/AMQ-3045

Adds an optional maximumRedeliveryDelay that defaults to -1 to indicate no max so behavior is unchanged from previous versions.  When the backoff multiplier is enabled and the maximumReliveryDelay is set > -1 then the delay returned by getNextReliveryDealy is capped by the max of either maximumReliveryDelay or redeliveryDelay preventing delays smaller than the configured redelivery delay.

Changed paths

Path Details
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26