You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Hamid.Shahid" <ha...@sungard.com> on 2014/09/24 16:06:19 UTC

QPID 0.28 C++ Client : Subscribtion to Queues or Topics (AMQP 1.0)

Hi,Please let me know, if there is a way to add destination type prefix,
'queue' or 'topic' while subscribing to a Queue or Topic using QPID 0.28
(amqp 1.0) C++ Client.For example, ActiveMQ uses queue:// or topic://
prefixes. Kind Regards,Hamid Shahid



-----
Best Regards,
Hamid.
--
View this message in context: http://qpid.2158936.n2.nabble.com/QPID-0-28-C-Client-Subscribtion-to-Queues-or-Topics-AMQP-1-0-tp7614162.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

Re: QPID 0.28 C++ Client : Subscribtion to Queues or Topics (AMQP 1.0)

Posted by "Hamid.Shahid" <ha...@sungard.com>.
This works :)
Thanks Gordon!



-----
Best Regards,
Hamid.
--
View this message in context: http://qpid.2158936.n2.nabble.com/QPID-0-28-C-Client-Subscribtion-to-Queues-or-Topics-AMQP-1-0-tp7614162p7614168.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: QPID 0.28 C++ Client : Subscribtion to Queues or Topics (AMQP 1.0)

Posted by Gordon Sim <gs...@redhat.com>.
On 09/24/2014 03:06 PM, Hamid.Shahid wrote:
> Hi,Please let me know, if there is a way to add destination type prefix,
> 'queue' or 'topic' while subscribing to a Queue or Topic using QPID 0.28
> (amqp 1.0) C++ Client.For example, ActiveMQ uses queue:// or topic://
> prefixes.

Yes, you just need to quote it, so e.g. 
ssn.createReceiver("'topic://my-topic'")


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org