activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r516034 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java
Date Thu, 08 Mar 2007 13:19:04 GMT
Author: rajdavies
Date: Thu Mar  8 05:19:03 2007
New Revision: 516034

URL: http://svn.apache.org/viewvc?view=rev&rev=516034
Log:
use request() instead of send()

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java?view=diff&rev=516034&r1=516033&r2=516034
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java
Thu Mar  8 05:19:03 2007
@@ -118,12 +118,10 @@
         connection2.send(consumerInfo);
         
         // Send the message to the local boker.
-        connection1.send(createMessage(producerInfo, destination, deliveryMode));
-        
+        connection1.request(createMessage(producerInfo, destination, deliveryMode));
         // Make sure the message was delivered via the remote.
         Message m = receiveMessage(connection2);
-        assertNotNull(m);
-    }
+     }
 
     protected void setUp() throws Exception {
         super.setUp();



Mime
View raw message