From 8432e0aafeb026cbead743b32a7065ce39aa31ad Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Mon, 5 Mar 2007 07:35:15 +0000 Subject: [PATCH] set the remote broker name on the remoteBroker git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@514588 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/network/NetworkTestSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java b/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java index b0ebf8b70c..f4f25bc18f 100755 --- a/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java +++ b/activemq-core/src/test/java/org/apache/activemq/network/NetworkTestSupport.java @@ -108,7 +108,7 @@ public class NetworkTestSupport extends BrokerTestSupport { protected BrokerService createRemoteBroker(PersistenceAdapter persistenceAdapter) throws Exception { BrokerService answer = new BrokerService(); - broker.setBrokerName("remote"); + answer.setBrokerName("remote"); answer.setUseJmx(false); answer.setPersistenceAdapter(persistenceAdapter); return answer;