Commit 2c25f62b authored by afreyssin's avatar afreyssin

Use BridgeConnection name for filtering [JORAM-262].

parent 375f1b9b
......@@ -115,7 +115,7 @@ public class BridgeTest12x extends TestCase {
System.out.println("Receive message: " + msgIn.getText());
msgOut = joramSess.createTextMessage("Coucou from addedForeignCF");
msgOut.setStringProperty("jms.Routing", "addedForeignCF");
msgOut.setStringProperty("jms.Routing", "cnx1");
joramProd.send(msgOut);
System.out.println("send a message = " + msgOut.getText());
......
......@@ -128,7 +128,7 @@ public class BridgeTest7 extends TestCase {
msg = joramSess.createTextMessage();
for (int i = 1; i < 11; i++) {
msg.setText("Joram message number " + i);
msg.setStringProperty("jms.Routing", "cfS2");
msg.setStringProperty("jms.Routing", "cnx2");
System.out.println("send msg = " + msg.getText());
joramSender.send(msg);
}
......@@ -139,7 +139,7 @@ public class BridgeTest7 extends TestCase {
for (int i = 1; i < 11; i++) {
msg = (TextMessage) foreignCons2.receive(5000);
assertNotNull(msg);
System.out.println("Consumer 2: receive msg = " + msg.getText());
System.out.println("Consumer 2: receive msg = " + ((msg==null)?"null":msg.getText()));
}
foreignCnx1.close();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment