[rabbitmq-discuss] rabbitmq-c: Nonblocking recv

Arun Chandrasekaran visionofarun at gmail.com
Wed Feb 15 18:58:33 GMT 2012


Hi all,

How do we make a non blocking recv from librabbitmq? amqp_simple_wait_frame 
blocks if the queue doesn't contain any message.

Should we call amqp_data_in_buffer() and based on the result call 
amqp_simple_wait_frame or implement a solution like this?

http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-September/014868.html

Thanks in advance.

- Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120215/36f5d167/attachment.htm>


More information about the rabbitmq-discuss mailing list