Fixes: #3079 Issue link: https://github.com/spring-projects/spring-amqp/issues/3079 Remove `cancelled()` condition from the `BlockingQueueConsumer.commitIfNecessary()` to allow initiated acks to be committed. The cancelled consumer means no new deliveries, but that does not mean we cannot ack outstanding messages. Actually, this is a leftover after previous fix with assumption that messages have to be returned to the queue with `Recovery` command when consumer is cancelled. Signed-off-by: Marco Cozzi <marco@codeatlas.it> **Auto-cherry-pick to `3.2.x` & `3.1.x`**
= spring-rabbit
This project provides the RabbitMQ implementation for the abstractions in `spring-amqp`.
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: [https://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