Shan Wang wrote:
My client program will declare the queue in the beginning, but there's
no point of redeclaring a queue if it already exists. Is there a API
call for clients to tell if a queue name is being used already?
There is a queue.query you could use for this purpose but it's easier
and more efficient to use queue.declare every time. queue.declare will
create the queue only if it doesn't already exist.
-Ted
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]