Files
Artem Bilan ca51ca62a6 SMLC: defer counter release until fetched messages are processed
Currently, the `SimpleMessageListenerContainer` is stopped immediately
when `cancelOK` is received.

The expectation do not stop an application context until all the fetched
messages are processed.
Therefore, move `this.activeObjectCounter.release(this);` to the `BlockingQueueConsumer.nextMessage()`
if the internal queue is empty and `cancelled` has been requested.

* Adjust all the SMLC tests for a shorter `receiveTimeout` to not have blocking for nothing
* Also add `System.setProperty("spring.amqp.deserialization.trust.all", "true");` to be
able to run tests from IDE

**Cherry-pick to `3.0.x`**
2024-02-05 13:03:00 -05:00
..
2016-02-03 17:03:58 -05:00

= spring-rabbit-test

This project provides testing support classes to help with testing `spring-rabbit` applications.