Have you tried : session.queueDeclare(arg::autoDelete=true, ...) ;
? this will delete the queue when the session closes. you can also prefix the queue name with a string like 'dyn_' so they're easily identifiable with the 'qpid-config queues' tool. this is what I've been using for the API reference : http://qpid.apache.org/apis/0.6/cpp/html/index.html caveat : I'm not sure if this is the latest or best API reference, maybe someone else would care to enlighten us hope this helps, Warwick -----Original Message----- From: Bill Whiting [mailto:[email protected]] Sent: Wednesday, 10 November, 2010 10:58 PM To: [email protected] Subject: c++ delete queue I'm trying to create a temporary queue and delete it when it's no longer needed. Is there a method for deleting a queue, essentially the reverse of session.queueDeclare() I can't find queueDeclare in the documentation. Can someone point me in the right direction? Thanks, //Bill --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected] --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
