JIRA: https://jira.spring.io/browse/AMQP-385 Previously, if an ErrorHandler threw an AmqpRejectAndDontRequeueException, the message was properly rejected but it caused the consumer to be aborted. This caused problems when listening on auto-delete queues that are not auto-declared by a RabbitAdmin. Treat these exceptions as non-fatal for the consumer. Conflicts: spring-rabbit/src/test/java/org/springframework/amqp/rabbit/listener/MessageListenerContainerErrorHandlerIntegrationTests.java Resolved.
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