forked from vcabbage/amqp
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow cross receiver message settlement (#316)
* Allow cross receiver message settlement It's not prevented at present, but can cause a memory leak due to entries never being removed from the unsettledMessages map. When a received message isn't settled, associate its receiver with the message. The settlement APIs will direct to the associated receiver. * mark message as settled when RSM is mode first set rcv to nil when message has been settled * add some additional comments * improve comment
- Loading branch information
1 parent
1c1e489
commit 76124f7
Showing
3 changed files
with
28 additions
and
7 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