[rabbitmq-discuss] Read messages non-blocking in RabbitMQ
habtdemis at gmail.com
Tue Jul 26 15:54:58 BST 2011
We actually was looking to read messages without actively waiting for a
message to arrive if the queue is empty at that point for example. The
basic_get method did the trick. Thanks though!
On Tue, Jul 26, 2011 at 3:48 AM, Marek Majkowski <majek04 at gmail.com> wrote:
> On Mon, Jul 25, 2011 at 22:49, Demi Zike <habtdemis at gmail.com> wrote:
> > We can read messages fine. But due to the large volume of messages our
> > system is expected to transport and process, we want to avoid blocking
> > reading messages from a list of queues our direct exchange is bound to.
> > can we achieve that in RabbitMQ?
> The normal method to asynchronously receive messages is to use
> 'basic_consume' command. The blocking method is 'basic_get'.
> What exactly is your question?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss