activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1404994 - /activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
Date Fri, 02 Nov 2012 15:08:15 GMT
Author: chirino
Date: Fri Nov  2 15:08:15 2012
New Revision: 1404994

URL: http://svn.apache.org/viewvc?rev=1404994&view=rev
Log:
Fix bug where we were not properly draining all the links.

Modified:
    activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java

Modified: activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java?rev=1404994&r1=1404993&r2=1404994&view=diff
==============================================================================
--- activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
(original)
+++ activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
Fri Nov  2 15:08:15 2012
@@ -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);
                 }
 
 



Mime
View raw message