mirror of
https://github.com/apache/activemq.git
synced 2025-02-20 00:47:07 +00:00
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,11 +118,9 @@ public class DemandForwardingBridgeTest extends NetworkTestSupport {
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user