mirror of https://github.com/apache/activemq.git
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:
parent
f2816deb1c
commit
487834164c
|
@ -31,6 +31,7 @@ public class TwoBrokerTopicSendReceiveUsingJavaConfigurationTest extends TwoBrok
|
||||||
protected ActiveMQConnectionFactory createReceiverConnectionFactory() throws JMSException {
|
protected ActiveMQConnectionFactory createReceiverConnectionFactory() throws JMSException {
|
||||||
try {
|
try {
|
||||||
receiveBroker = new BrokerService();
|
receiveBroker = new BrokerService();
|
||||||
|
receiveBroker.setBrokerName("receiveBroker");
|
||||||
receiveBroker.setUseJmx(false);
|
receiveBroker.setUseJmx(false);
|
||||||
receiveBroker.setPersistent(false);
|
receiveBroker.setPersistent(false);
|
||||||
receiveBroker.addConnector("tcp://localhost:62002");
|
receiveBroker.addConnector("tcp://localhost:62002");
|
||||||
|
@ -48,6 +49,7 @@ public class TwoBrokerTopicSendReceiveUsingJavaConfigurationTest extends TwoBrok
|
||||||
protected ActiveMQConnectionFactory createSenderConnectionFactory() throws JMSException {
|
protected ActiveMQConnectionFactory createSenderConnectionFactory() throws JMSException {
|
||||||
try {
|
try {
|
||||||
sendBroker = new BrokerService();
|
sendBroker = new BrokerService();
|
||||||
|
sendBroker.setBrokerName("sendBroker");
|
||||||
sendBroker.setUseJmx(false);
|
sendBroker.setUseJmx(false);
|
||||||
sendBroker.setPersistent(false);
|
sendBroker.setPersistent(false);
|
||||||
sendBroker.addConnector("tcp://localhost:62001");
|
sendBroker.addConnector("tcp://localhost:62001");
|
||||||
|
|
Loading…
Reference in New Issue