activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r384180 - /incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java
Date Wed, 08 Mar 2006 11:01:51 GMT
Author: jstrachan
Date: Wed Mar  8 03:01:48 2006
New Revision: 384180

URL: http://svn.apache.org/viewcvs?rev=384180&view=rev
Log:
disabled JMX for test case so the test works if we enable JMX globally

Modified:
    incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java

Modified: incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java?rev=384180&r1=384179&r2=384180&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java
(original)
+++ incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java
Wed Mar  8 03:01:48 2006
@@ -17,7 +17,6 @@
 package org.apache.activemq.usecases;
 
 import org.apache.activemq.ActiveMQConnectionFactory;
-import org.apache.activemq.store.memory.MemoryPersistenceAdapter;
 import org.apache.activemq.broker.BrokerService;
 
 import javax.jms.JMSException;
@@ -32,6 +31,7 @@
     protected ActiveMQConnectionFactory createReceiverConnectionFactory() throws JMSException
{
         try {
             receiveBroker = new BrokerService();
+            receiveBroker.setUseJmx(false);
             receiveBroker.setPersistent(false);
             receiveBroker.addConnector("tcp://localhost:62002");
             receiveBroker.addNetworkConnector("static:failover:tcp://localhost:62001");
@@ -48,6 +48,7 @@
     protected ActiveMQConnectionFactory createSenderConnectionFactory() throws JMSException
{
         try {
             sendBroker = new BrokerService();
+            sendBroker.setUseJmx(false);
             sendBroker.setPersistent(false);
             sendBroker.addConnector("tcp://localhost:62001");
             sendBroker.addNetworkConnector("static:failover:tcp://localhost:62002");



Mime
View raw message