Repository: qpid-jms
Updated Branches:
  refs/heads/master ec5c3e754 -> bfb329a0c


Close the activemq connection prior to broker shutdown

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/bfb329a0
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/bfb329a0
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/bfb329a0

Branch: refs/heads/master
Commit: bfb329a0ce47f477eccb835b29c1420841b45917
Parents: ec5c3e7
Author: Timothy Bish <[email protected]>
Authored: Tue Jan 13 11:06:02 2015 -0500
Committer: Timothy Bish <[email protected]>
Committed: Tue Jan 13 11:06:14 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/bfb329a0/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
----------------------------------------------------------------------
diff --git 
a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
 
b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
index 609b46a..f2786cc 100644
--- 
a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
+++ 
b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
@@ -341,6 +341,7 @@ public class JmsMessageConsumerTest extends AmqpTestSupport 
{
             LOG.debug(">>>> Sent [{}]", messageText);
             p.send(message);
         }
+        connection.close();
 
         // After the first restart we should get all messages sent above
         restartPrimaryBroker();


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

Reply via email to