On 01/19/2016 07:56 PM, jjw tectec wrote:
Thanks Gordon. Adding the link option worked. However, even aftermsg.setProperty("x-amqp-0-10.routing-key", "keyX"); // publisher msg.getProperties()["x-amqp-0-10.routing-key"].asString() is still the queue name, not "keyX" (at the subscriber); Is this an expected behavior?
Yes. In AMQP 0-10, the only way to send directly to the queue is to set the routing key to the queue name, which is what is done by the library when you send the message on a sender created with the queue as the target address.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
