On 01/19/2016 07:56 PM, jjw tectec wrote:
Thanks Gordon. Adding the link option worked. However, even after

msg.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: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to