qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: Does qpid-cpp messaging API support SubscriptionManager?
Date Thu, 11 Nov 2010 20:14:02 GMT
On 11/09/2010 09:09 PM, zhaoyi0113@gmail.com wrote:
>
> Since the qpid:messaging is the new API, I want to move my code from
> qpid::client to qpid::messaging. The SubscriptionManager class in
> qpid::client namespace supports schedule the subscription in a thread. It
> doesn't block the current thread. Does qpid::messaging have such similar
> function support schedule subscription thread?

You can create a thread that calls Receiver::fetch() in a loop, that will give 
you equivalent functionality.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message