I started using Qpid through the client API in org.apache.qpid.transport because it looked simple and flexible. However Rajith pointed out that this API was not supported, and with the removal of the examples using this API I feel the pressure to switch to the JMS API.

Unfortunately I haven't managed to get the same result with this API yet. How do I bind/unbind several topics to the same private queue?

With the non JMS API it's just a matter of calling exchangeBind() or exchangeUnbind() on the session:

session.exchangeBind("myqueue", "amq.topic", "topic1", null);

With the JMS API it seems significantly more convoluted. I've been able to get only one topic per queue so far.

Thank you,

Emmanuel Bourg

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to