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

Pull consumer can hang in receive if RedeliveryPolicy is configured with max redeliveries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.5, 1.7.0
    • 1.7.1, 1.8.0
    • ActiveMQ
    • None

    Description

      For a pull consumer (prefetch = 0) with a redelivery policy that enforces maximum redeliveries we now eagerly poison the incoming messages if they exceed the maximum redelivery value. The consumer does not attempt to issue another pull request in this case which can stall receive().

      Also the consumer does not recompute the timeout if one is set leading to a longer wait than might otherwise be expected.

      Attachments

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              tabish Timothy A. Bish
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: