You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by Yanfeng Liu <Ya...@ygomi.com> on 2015/06/19 08:14:20 UTC
how to create temporary queue from Proton API
Hi,
I am wondering if it is possible to create a temporary queue from a Qpid client program using Proton API only?
This is possible from the non-Proton API libraries for Java, C and other languages. But unfortunately I can't use such legacy APIs.
All I can use is Proton-C library.
Regards,
Yanfeng
RE: how to create temporary queue from Proton API
Posted by Yanfeng Liu <Ya...@ygomi.com>.
Gordon,
Thank you so much for the pointer!
Regards,
Yanfeng
-----Original Message-----
From: Gordon Sim [mailto:gsim@redhat.com]
Sent: Friday, June 19, 2015 4:27 PM
To: proton@qpid.apache.org
Subject: Re: how to create temporary queue from Proton API
On 06/19/2015 07:14 AM, Yanfeng Liu wrote:
> Hi,
>
> I am wondering if it is possible to create a temporary queue from a Qpid client program using Proton API only?
Assuming you mean the messenger API, then you can now do so by using a url for your subscription of the form amqp://myhost:5672/# where '#' is a special character that as in qpid::messaging is interpreted to mean a temp queue.
Re: how to create temporary queue from Proton API
Posted by Gordon Sim <gs...@redhat.com>.
On 06/19/2015 07:14 AM, Yanfeng Liu wrote:
> Hi,
>
> I am wondering if it is possible to create a temporary queue from a Qpid client program using Proton API only?
Assuming you mean the messenger API, then you can now do so by using a
url for your subscription of the form amqp://myhost:5672/# where '#' is
a special character that as in qpid::messaging is interpreted to mean a
temp queue.