Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-581

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.9.0
    • Component/s: None
    • Labels:
      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

              • Assignee:
                tabish121 Timothy Bish
                Reporter:
                tabish121 Timothy Bish
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: