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@1069347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55ae21c381
commit
7f002de964
|
@ -17,11 +17,9 @@
|
|||
package org.apache.activemq.usecases;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.management.ManagementFactory;
|
||||
|
||||
import javax.jms.Connection;
|
||||
import javax.jms.Session;
|
||||
import javax.management.MBeanServer;
|
||||
import javax.management.ObjectName;
|
||||
|
||||
import org.apache.activemq.ActiveMQConnectionFactory;
|
||||
|
@ -77,6 +75,7 @@ public class ManagedDurableSubscriptionTest extends org.apache.activemq.TestSupp
|
|||
persistenceAdapter.setDirectory(new File("activemq-data/" + getName()));
|
||||
broker.setPersistenceAdapter(persistenceAdapter);
|
||||
broker.setUseJmx(true);
|
||||
broker.getManagementContext().setCreateConnector(false);
|
||||
broker.setBrokerName(getName());
|
||||
broker.start();
|
||||
|
||||
|
|
Loading…
Reference in New Issue