Announcement Announcement Module
Collapse
No announcement yet.
Support for Dead-letter Exchange? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Support for Dead-letter Exchange?

    All,

    Does Spring AMQP support RabbitMQ's dead-letter exchange?

    Thanks.

    -Paul

  • #2
    It will be in 1.0.1 (due soon).

    It is in the 1.0.1.BUILD-SNAPSHOT if you want to test.

    When the listener container has requeueRejected set to false (default is true); the attribute on <rabbit:listener-container /> is requeue-rejected; the failed messages will be sent to the DLE/DLQ (if so configured).

    You can do it on a message-by-message basis by throwing AmqpRejectAndDontRequeueException.

    Comment


    • #3
      That's very good news, Gary; thanks.

      We'll be testing dead-letter along with mandatory flag.

      -Paul

      Comment


      • #4
        Hi Paul,

        Please also take a look at this thread... http://forum.springsource.org/showth...Backoff-policy for more information.

        Comment

        Working...
        X