On 01/26/2012 02:06 PM, Davide Anastasia wrote:
Hi Andy,
Thanks for the quick reply: it did help. In fact I made my code compile,
but unfortunately I can't find a way to set the routing_key using the
new API. What's the quickest way?

Set the subject. Provided you send to a named exchange, that will then be taken as the routing key to use. You can also specify the default subject for the sender in the address e.g. my-exchange/my-key.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to