mirror of https://github.com/apache/activemq.git
Fix for the JMSConsumerTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@698611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
21b44e9b37
commit
fc338b7e0d
|
@ -514,6 +514,7 @@ public class JMSConsumerTest extends JmsTestSupport {
|
|||
// to another consumer.. lets create the 2nd consumer test that it does
|
||||
// make sure it does.
|
||||
ActiveMQConnection connection2 = (ActiveMQConnection)factory.createConnection();
|
||||
connection2.start();
|
||||
connections.add(connection2);
|
||||
Session session2 = connection2.createSession(true, 0);
|
||||
MessageConsumer consumer2 = session2.createConsumer(destination);
|
||||
|
|
Loading…
Reference in New Issue