[rabbitmq-discuss] async C client
alan.antonuk at gmail.com
Mon Apr 7 18:22:02 BST 2014
Assuming you're talking about the rabbitmq-c client library, currently the
API does not have a callback API for dealing with asynchronous events.
(This is something that sorely needs to be added to rabbitmq-c, but
requires a bit of rearchitecting with the way rabbitmq-c works)
Depending on what exactly you're trying to do, I would recommend putting
the amqp_connection_state_t object in its own thread, and then firing off
events to other threads when you receive messages.
On Fri, Apr 4, 2014 at 10:03 AM, Dave Clark <dclark at nexatech.com> wrote:
> I am trying to implement a C client to RabbitMQ and would like to
> receive messages asynchronously but I do not see any callback mechanism in
> the C interface. Is there one or do I have to implement my own?
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss