[rabbitmq-discuss] amq_client_session_wait in RabbitMQ .net API?
Aamir_Mohammad at manulife.com
Aamir_Mohammad at manulife.com
Fri Feb 22 19:34:12 GMT 2008
Hello,
In the OpenAMQ WireAPI there is a method called
amq_client_session_wait(session, timeout) ... what is the equivalent
method in the RabitMQ .NET API?
The OpenAMQ "chatroom" example calls amq_client_session_wait() inside the
infinite while loop that is used for consuming messages. I gather that the
purpose of this method is to prevent the infinite loop from wasting
resources when there are no messages in the queue. How does the RabbitMQ
.NET API handle this?
Thanks
Aamir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080222/4469021f/attachment.htm
More information about the rabbitmq-discuss
mailing list