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:
Gary Tully 2011-02-10 12:02:09 +00:00
parent 55ae21c381
commit 7f002de964
1 changed files with 1 additions and 2 deletions

View File

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