activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r997225 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerTopicSendReceiveUsingJavaConfigurationTest.java
Date Wed, 15 Sep 2010 08:26:28 GMT
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");



Mime
View raw message