mirror of https://github.com/apache/activemq.git
use request() instead of send()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
544ffe9dce
commit
d7a14830c7
|
@ -118,12 +118,10 @@ public class DemandForwardingBridgeTest extends NetworkTestSupport {
|
||||||
connection2.send(consumerInfo);
|
connection2.send(consumerInfo);
|
||||||
|
|
||||||
// Send the message to the local boker.
|
// 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.
|
// Make sure the message was delivered via the remote.
|
||||||
Message m = receiveMessage(connection2);
|
Message m = receiveMessage(connection2);
|
||||||
assertNotNull(m);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected void setUp() throws Exception {
|
protected void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
|
|
Loading…
Reference in New Issue