remove dependency on jmx 1099 port

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069344 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-02-10 11:56:31 +00:00
parent 27d0ff4011
commit 55ae21c381
1 changed files with 1 additions and 1 deletions

View File

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