activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmacn...@apache.org
Subject svn commit: r787355 - /activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/legacy/openwireprotocol/BrokerTest.java
Date Mon, 22 Jun 2009 19:11:32 GMT
Author: cmacnaug
Date: Mon Jun 22 19:11:31 2009
New Revision: 787355

URL: http://svn.apache.org/viewvc?rev=787355&view=rev
Log:
Fixing timing issue in testTopicNoLocal -- consumer wasn't always being created prior to messages
being sent. 

Modified:
    activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/legacy/openwireprotocol/BrokerTest.java

Modified: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/legacy/openwireprotocol/BrokerTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/legacy/openwireprotocol/BrokerTest.java?rev=787355&r1=787354&r2=787355&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/legacy/openwireprotocol/BrokerTest.java
(original)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/legacy/openwireprotocol/BrokerTest.java
Mon Jun 22 19:11:31 2009
@@ -81,7 +81,7 @@
         consumerInfo2.setRetroactive(true);
         consumerInfo2.setPrefetchSize(100);
         consumerInfo2.setNoLocal(true);
-        connection2.send(consumerInfo2);
+        connection2.request(consumerInfo2);
 
         // Send the messages
         connection1.send(createMessage(producerInfo1, destination, deliveryMode));



Mime
View raw message