remove dependency on jmx 1099 port

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-02-11 12:42:15 +00:00
parent 237f83578f
commit 971f61f0d3
1 changed files with 1 additions and 0 deletions

View File

@ -246,6 +246,7 @@ public class DurableSubscriptionUnsubscribeTest extends TestSupport {
private void startBroker(boolean deleteMessages) throws Exception {
broker = BrokerFactory.createBroker("broker:(vm://" + getName() + ")");
broker.setUseJmx(true);
broker.getManagementContext().setCreateConnector(false);
broker.setBrokerName(getName());
broker.setPersistent(true);