activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonas Lim (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-967) setting maximumRedeliveries to -1 is equivalent to maximumRedeliveries=0, but doc says otherwise
Date Sat, 18 Nov 2006 13:45:02 GMT
     [ 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

        

Mime
View raw message