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
This commit is contained in:
Robert Davies 2007-03-05 07:35:15 +00:00
parent 2eaafc0c12
commit 8432e0aafe
1 changed files with 1 additions and 1 deletions

View File

@ -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;