On 05/04/2011 06:58 AM, Jiri Krutil wrote:
Hi
The Qpid C++ client library class qpid::messaging::Receiver allows synchronous
(blocking) receiving from a queue using get() or fetch().
Is there also a way how to receive asynchronously, by registering a callback
function or listener?
Currently no. You can start your own threads to receive messages.
Is qpid::client::SubscriptionManager still supported in version 0.8?
It is present but deprecated. The messaging API is the way to go for any new
work.
There was a proposal for this that didn't get implemented yet:
https://issues.apache.org/jira/browse/QPID-2451
Please comment on that JIRA with your thoughts on the proposed approach and/or
any suggestions you may have for how this API should work.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]