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.0.2, 4.1
            Reporter: Renaud Bruyeron
             Fix For: 4.0.3, 4.1
         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

        

Reply via email to