rabbitmq with spring amqp - messages stuck in case of AmqpException
I am throwing an AmqpException inside of my consumer. My expectation is that the message will return back to the queue in FIFO order and will be reprocessed sometime in the future. It seems as if Spring AMQP does not release the message back to the queue. But instead tries to reprocess the failed messages over and over again. This blocks the newly arrived messages from being processed. The ones that are stuck appear in the "unpacked" state forever inside of the AMQP console. Any thoughts? Gary Russell That's the way rabbitmq/Spring AMQP works; if a message is rejected (any exception is thrown)