All,
Does Spring AMQP support RabbitMQ's dead-letter exchange?
Thanks.
-Paul
All,
Does Spring AMQP support RabbitMQ's dead-letter exchange?
Thanks.
-Paul
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.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware
That's very good news, Gary; thanks.
We'll be testing dead-letter along with mandatory flag.
-Paul
Hi Paul,
Please also take a look at this thread... http://forum.springsource.org/showth...Backoff-policy for more information.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware