Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-220

Should retry 15 times in between sessions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • NMS
    • None
    • ActiveMQ 5.2

    Description

      I'm using AcknowledgementMode.Transactional mode and have set the max redeliveries to 15. If I create a message rolling back each time the listener delegate recieves it, wait 10 seconds, then the message is redelivered 10 times. I then dispose the session and the message is still in the queue marked redelivered as expected.

      Then establishing a new session with max redeliveries set to 15 again, when recieving the message the logic again rolls back on the session when the message comes through. The message is redelivered only once. For a total of 11 times and is deleted from the queue. I would expect it to be redelivered a total of 15 times.

      Attachments

        1. NativeNMSConsumerAndProducer.zip
          1018 kB
          Mark Gellings

        Activity

          People

            tabish Timothy A. Bish
            magellings Mark Gellings
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: