[rabbitmq-discuss] Regarding the non-blocking call of "amqp_simple_wait_frame"
tonygarnockjones+rabbitmq at gmail.com
Mon Jan 17 15:24:10 GMT 2011
2011/1/17 Alexandre Kalendarev <akalend at mail.ru>
> the rabbitmq-c client d't have no-blocking i/o.
A cheap hack would be to use select() (etc) to wait for some input to become
available, and then call amqp_simple_wait_frame.
I've also experimented with using libevent with librabbitmq, though it's Not
Going To Be Easy To Follow: see read_callback at
check out librabbitmq's amqp_handle_input().
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss