Author: robbie
Date: Fri Nov 20 23:35:16 2015
New Revision: 1715445

URL: http://svn.apache.org/viewvc?rev=1715445&view=rev
Log:
QPID-6874, QPID-6744: close the consumer used to retrieve a message when done 
with it, otherwise the session will likely see a resource-deleted execution 
exception before failing to create another consumer on the then-deleted queue

Modified:
    
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/session/QueueDeleteTest.java

Modified: 
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/session/QueueDeleteTest.java
URL: 
http://svn.apache.org/viewvc/qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/session/QueueDeleteTest.java?rev=1715445&r1=1715444&r2=1715445&view=diff
==============================================================================
--- 
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/session/QueueDeleteTest.java
 (original)
+++ 
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/session/QueueDeleteTest.java
 Fri Nov 20 23:35:16 2015
@@ -106,5 +106,6 @@ public class QueueDeleteTest extends Qpi
         Message message = consumer.receive(RECEIVE_TIMEOUT);
         assertNotNull("Message not received", message);
         _session.commit();
+        consumer.close();
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to