On 26/05/2020 12:36 pm, mohank wrote:
Hi Gordon Sim,

Thanks for your reply.

*
So you could try "'/exchange/amq.topic/#.news'" (the quotes are required)
*

This create temporary Q and bound with routing key #.news.

1) is it possible to consumer Queue (news ) and bound with routing key
#.news. instead of creating temporary queue.

No. AMQP 1.0 does not cover any specific notion of queues and bindings (which are concepts from earlier iterations of the spec that did not survive into 1.0).

For static setup you could use rabbitmq tools, or write scripts using a client library based on one of those earlier versions of the spec.


2) below command create non durable queue.
     Receiver receiver = session.createReceiver("service_queue");

     is there any way to create Durable queue grammatically using QPID
C++(AMQP 1.0)

No (see above for detail)

3) is there any work around to delete the temp queue programmatically?

Not sure I understand the question. The temp queue would be deleted by closing the receiver.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to