mirror of https://github.com/apache/activemq.git
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:
parent
27d0ff4011
commit
55ae21c381
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue