Spring AMQP
  1. Spring AMQP
  2. AMQP-275

Race Condition When Stopping Listener Container

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.1.3, 1.2.0.M1
    • Component/s: None
    • Labels:

      Description

      Race condition where messages can be rejected/requeued during container stop before the consumer was canceled. The message can be redelivered to the blocking queue before the cancel.

      1. Cancel the consumer first
      2. Drain the queue with reject/requeue

        Activity

        Show
        Gary Russell added a comment - PR: https://github.com/SpringSource/spring-amqp/pull/73

          People

          • Assignee:
            Gary Russell
            Reporter:
            Gary Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: