GH-8668: AMQP Docs for Exclusive and S-A Consumers

Resolves https://github.com/spring-projects/spring-integration/issues/8668

**cherry-pick to all supported branches**

(cherry picked from commit fc3c8d2c8d)

# Conflicts:
#	src/reference/asciidoc/amqp.adoc
This commit is contained in:
Gary Russell
2023-07-12 16:50:03 -04:00
committed by abilan
parent bb57f08f50
commit 1ec3fd2903

View File

@@ -253,6 +253,8 @@ In that regard, it is more similar to the JMS message-driven channel adapter.
Starting with version 5.5, the `AmqpInboundChannelAdapter` can be configured with an `org.springframework.amqp.rabbit.retry.MessageRecoverer` strategy which is used in the `RecoveryCallback` when the retry operation is called internally.
See `setMessageRecoverer()` JavaDocs for more information.
IMPORTANT: When using exclusive or single-active consumers in the listener container, it is recommended that you set the container property `forceStop` to `true`.
This will prevent a race condition where, after stopping the container, another consumer could start consuming messages before this instance has fully stopped.
[[amqp-debatching]]
==== Batched Messages