You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2010/09/15 10:26:28 UTC

svn commit: r997225 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java

Author: gtully
Date: Wed Sep 15 08:26:27 2010
New Revision: 997225

URL: http://svn.apache.org/viewvc?rev=997225&view=rev
Log:
resolve another hanging test, broker names need to be added to differenciat sehadualler stores: https://issues.apache.org/activemq/browse/AMQ-2897

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java?rev=997225&r1=997224&r2=997225&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java Wed Sep 15 08:26:27 2010
@@ -31,6 +31,7 @@ public class TwoBrokerTopicSendReceiveUs
     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 TwoBrokerTopicSendReceiveUs
     protected ActiveMQConnectionFactory createSenderConnectionFactory() throws JMSException {
         try {
             sendBroker = new BrokerService();
+            sendBroker.setBrokerName("sendBroker");
             sendBroker.setUseJmx(false);
             sendBroker.setPersistent(false);
             sendBroker.addConnector("tcp://localhost:62001");