activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1069347 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ManagedDurableSubscriptionTest.java
Date Thu, 10 Feb 2011 12:02:09 GMT
Author: gtully
Date: Thu Feb 10 12:02:09 2011
New Revision: 1069347

URL: http://svn.apache.org/viewvc?rev=1069347&view=rev
Log:
remove dependency on jmx 1099 port

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ManagedDurableSubscriptionTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ManagedDurableSubscriptionTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ManagedDurableSubscriptionTest.java?rev=1069347&r1=1069346&r2=1069347&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ManagedDurableSubscriptionTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ManagedDurableSubscriptionTest.java
Thu Feb 10 12:02:09 2011
@@ -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 ManagedDurableSubscriptionT
         persistenceAdapter.setDirectory(new File("activemq-data/" + getName()));
         broker.setPersistenceAdapter(persistenceAdapter);
         broker.setUseJmx(true);
+        broker.getManagementContext().setCreateConnector(false);
         broker.setBrokerName(getName());
         broker.start();
 



Mime
View raw message