resolve another hanging test, broker names need to be added to differenciat sehadualler stores: https://issues.apache.org/activemq/browse/AMQ-2897

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-15 08:26:27 +00:00
parent f2816deb1c
commit 487834164c
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class TwoBrokerTopicSendReceiveUsingJavaConfigurationTest extends TwoBrok
protected ActiveMQConnectionFactory createReceiverConnectionFactory() throws JMSException {
try {
receiveBroker = new BrokerService();
receiveBroker.setBrokerName("receiveBroker");
receiveBroker.setUseJmx(false);
receiveBroker.setPersistent(false);
receiveBroker.addConnector("tcp://localhost:62002");
@ -48,6 +49,7 @@ public class TwoBrokerTopicSendReceiveUsingJavaConfigurationTest extends TwoBrok
protected ActiveMQConnectionFactory createSenderConnectionFactory() throws JMSException {
try {
sendBroker = new BrokerService();
sendBroker.setBrokerName("sendBroker");
sendBroker.setUseJmx(false);
sendBroker.setPersistent(false);
sendBroker.addConnector("tcp://localhost:62001");