You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jonas Lim (JIRA)" <ji...@apache.org> on 2006/11/18 14:45:02 UTC
[jira] Resolved: (AMQ-967) setting maximumRedeliveries to -1 is
equivalent to maximumRedeliveries=0, but doc says otherwise
[ https://issues.apache.org/activemq/browse/AMQ-967?page=all ]
Jonas Lim resolved AMQ-967.
---------------------------
Fix Version/s: 4.1.1
4.3.0
(was: 4.2.0)
(was: 4.0.3)
Resolution: Fixed
Thanks Renaud!
Patch has been applied on :
trunk : r476523
4.1 branch : r476525
Also updated the RedeliveryPolicyTest test case to test this
> setting maximumRedeliveries to -1 is equivalent to maximumRedeliveries=0, but doc says otherwise
> ------------------------------------------------------------------------------------------------
>
> Key: AMQ-967
> URL: https://issues.apache.org/activemq/browse/AMQ-967
> Project: ActiveMQ
> Issue Type: Bug
> Components: Connector
> Affects Versions: 4.1.0, 4.0.2
> Reporter: Renaud Bruyeron
> Fix For: 4.1.1, 4.3.0
>
> Attachments: patch.txt
>
>
> The documentation (http://incubator.apache.org/activemq/resource-adapter-properties.html) suggests that setting maximumRedeliveries to -1 means "no maximum", i.e. infinite retries.
> However, my tests (and the code) show that -1 is equivalent to 0 (i.e. no redelivery).
> The patch attempts to fix this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira