<div dir="ltr">Dave;<div><br></div><div>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)�</div>
<div><br></div><div>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.</div>
<div><br></div><div>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 10:03 AM, Dave Clark <span dir="ltr"><<a href="mailto:dclark@nexatech.com" target="_blank">dclark@nexatech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">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?<u></u><u></u></p>

</div>
</div>

<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>