You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2007/03/08 14:19:04 UTC
svn commit: r516034 -
/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/DemandForwardingBridgeTest.java
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();