Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AMQP-847: Close channel in RabbitTemplate.receive
JIRA: https://jira.spring.io/browse/AMQP-847 To avoid unacked messages race condition when client timeouts, but at this moment the message becomes available in queue, physically close a receive channel on the `TimeoutException` from the `Future.get()` **Cherry-pick to 2.0.x & 1.7.x**
- Loading branch information
1 parent
d5a2306
commit 9d67546
Showing
2 changed files
with
11 additions
and
1 deletion.
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