Skip to content

Commit

Permalink
GH-8668: AMQP Docs for Exclusive and S-A Consumers
Browse files Browse the repository at this point in the history
Resolves #8668

**cherry-pick to all supported branches**

(cherry picked from commit fc3c8d2)

# Conflicts:
#	src/reference/asciidoc/amqp.adoc
  • Loading branch information
garyrussell authored and artembilan committed Jul 12, 2023
1 parent bb57f08 commit 1ec3fd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reference/asciidoc/amqp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1ec3fd2

Please sign in to comment.