Files
spring-amqp/spring-rabbit
Marco Cozzi c3cc65dad9 GH-3079: Allow ACKs within the ShutdownTimeout period
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`**
2025-06-12 09:53:42 -04:00
..
2019-03-20 18:07:16 -04:00

= 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