activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r499478 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java
Date Wed, 24 Jan 2007 16:56:44 GMT
Author: rajdavies
Date: Wed Jan 24 08:56:43 2007
New Revision: 499478

URL: http://svn.apache.org/viewvc?view=rev&rev=499478
Log:
use different broker names for the remote and local broker

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java?view=diff&rev=499478&r1=499477&r2=499478
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java
Wed Jan 24 08:56:43 2007
@@ -102,11 +102,13 @@
     }
     
     protected BrokerService createBroker() throws Exception {
-        return BrokerFactory.createBroker(new URI("broker:()/localhost?persistent=false&useJmx=false"));
+        BrokerService broker = BrokerFactory.createBroker(new URI("broker:()/localhost?persistent=false&useJmx=false&"));
+        return broker;
     }
     
     protected BrokerService createRemoteBroker(PersistenceAdapter persistenceAdapter) throws
Exception {
         BrokerService answer = new BrokerService();
+        broker.setBrokerName("remote");
         answer.setUseJmx(false);
         answer.setPersistenceAdapter(persistenceAdapter);
         return answer;



Mime
View raw message