Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-967

setting maximumRedeliveries to -1 is equivalent to maximumRedeliveries=0, but doc says otherwise

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.2, 4.1.0
    • 4.1.1, 5.1.0
    • Connector
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch.txt
          3 kB
          Renaud Bruyeron

        Activity

          People

            Unassigned Unassigned
            bruyeron@fullsix.com Renaud Bruyeron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: