Spring AMQP
  1. Spring AMQP
  2. AMQP-310

Don't Reject If Container is Stopping

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.2.0.RC1
    • Component/s: RabbitMQ
    • Labels:

      Description

      If the container is stopping, it throws a MessageRejectedWhileStoppingException.

      The logic added by AMQP-221 to support Dead Letter Exchange/Queue is indiscriminate and, if the container is configured to always reject failed messages, rejects messages, even for this exception.

      We should always requeue messages that fail to process because the container is stopping.

        Activity

        Hide
        Gary Russell added a comment -
        Show
        Gary Russell added a comment - Pull Request: https://github.com/SpringSource/spring-amqp/pull/96

          People

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

            Dates

            • Created:
              Updated:
              Resolved: