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:
Hiram R. Chirino 2008-09-24 15:27:26 +00:00
parent 21b44e9b37
commit fc338b7e0d
1 changed files with 1 additions and 0 deletions

View File

@ -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);