mirror of https://github.com/apache/activemq.git
Fix bug where we were not properly draining all the links.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404994 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a253ebd3f
commit
ae24f5ff25
|
@ -241,7 +241,7 @@ class AmqpProtocolConverter {
|
|||
link = protonConnection.linkHead(ACTIVE_STATE, ALL_STATES);
|
||||
while (link != null) {
|
||||
((AmqpDeliveryListener)link.getContext()).drainCheck();
|
||||
link = link.next(ACTIVE_STATE, CLOSED_STATE);
|
||||
link = link.next(ACTIVE_STATE, ALL_STATES);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue