-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AMQP-801-2: Introduce ConsumerDecorator
JIRA: https://jira.spring.io/browse/AMQP-801 To properly assign the queue to the `ConsumeOkEvent`, we need perform such a logic in the `Consumer.handleConsumeOk()`. * Introduce `BlockingQueueConsumer.ConsumerDecorator` to be created on each `channel.basicConsume()` for wrapping the target `InternalConsumer` per queue * Add getters to the `ConsumeOkEvent` for better interoperability * Assert assigned queue names for the `ConsumeOkEvent`s in the `SimpleMessageListenerContainerIntegration2Tests` **Cherry-pick to 1.7.x** * Add `ConsumerDecorator.consumerTag` property * Add `ConsumerDecorator.toString()` * Add JavaDocs for the `ConsumeOkEvent`
- Loading branch information
1 parent
3dba703
commit e50cb89
Showing
3 changed files
with
113 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters