Support DLQ - the listener must throw an AmqpRejectAndDontRequeueException and this will send a basic.reject with requeue false (instead of the default true). There is an issue with Rabbit DLQ handling with durable queues so, currently, this only works when dead-lettering messages sent to non-durable queues. DLQ Polishing - Add Unit Tests DLQ Polish Tests AMQP-221 Add Option for Default Requeue Behavior Previously, the default requeue behavior was true, with the ability to override for a specific message by throwing an AmqpRejectAndDontRequeueException. However, as posted in a PR review, it is desirable to set the default behavior using a property on the listener container. Now, by setting requeueRejected to false (default=true), the default becomes false. When true, the default can still be overriden for a specific message as described above.
Many of the "integration" tests here require a running RabbitMQ server - they will be skipped if the broker is not detected.
If RabbitMQ is not installed on your system, refer to the instructions for your particular OS here: [http://www.rabbitmq.com/install.html]
Start the server. For example, and a *nix-based system where RabbitMQ has been
installed within /opt/rabbitmq, issue the following command:
> sudo /opt/rabbitmq/sbin/rabbitmq-server start