Files
Gary Russell 205ad001b2 AMQP-385 ErrorHandler and AmqpRejectAndDontRequeue
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.
2014-03-26 17:40:59 -04:00
..
2011-03-28 08:47:58 +01:00

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