amqp
amqp copied to clipboard
Queued dispositions should be flushed when receiver is gracefully closed
Currently when receiving messages with batching enabled there's no guarantee that queued dispositions will be sent when the link is closed.
A final batch of dispositions should be sent before the detach if the close is not due to an error or remote detach.