activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1069344 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ3145Test.java
Date Thu, 10 Feb 2011 11:56:32 GMT
Author: gtully
Date: Thu Feb 10 11:56:31 2011
New Revision: 1069344

URL: http://svn.apache.org/viewvc?rev=1069344&view=rev
Log:
remove dependency on jmx 1099 port

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ3145Test.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ3145Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ3145Test.java?rev=1069344&r1=1069343&r2=1069344&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ3145Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ3145Test.java Thu
Feb 10 11:56:31 2011
@@ -16,7 +16,6 @@
  */
 package org.apache.activemq.bugs;
 
-import java.util.concurrent.TimeUnit;
 import javax.jms.Connection;
 import javax.jms.ConnectionFactory;
 import javax.jms.JMSException;
@@ -65,6 +64,7 @@ public class AMQ3145Test {
         broker.setDeleteAllMessagesOnStartup(deleteAll);
         broker.setDataDirectory("target/AMQ3145Test");
         broker.setUseJmx(true);
+        broker.getManagementContext().setCreateConnector(false);
         broker.addConnector("tcp://localhost:0");
         broker.start();
         broker.waitUntilStarted();



Mime
View raw message