Skip to content

Commit 1ec3fd2

Browse files
garyrussellartembilan
authored andcommitted
GH-8668: AMQP Docs for Exclusive and S-A Consumers
Resolves #8668 **cherry-pick to all supported branches** (cherry picked from commit fc3c8d2) # Conflicts: # src/reference/asciidoc/amqp.adoc
1 parent bb57f08 commit 1ec3fd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/reference/asciidoc/amqp.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ In that regard, it is more similar to the JMS message-driven channel adapter.
253253
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.
254254
See `setMessageRecoverer()` JavaDocs for more information.
255255

256+
IMPORTANT: When using exclusive or single-active consumers in the listener container, it is recommended that you set the container property `forceStop` to `true`.
257+
This will prevent a race condition where, after stopping the container, another consumer could start consuming messages before this instance has fully stopped.
256258
[[amqp-debatching]]
257259
==== Batched Messages
258260

0 commit comments

Comments
 (0)