[rabbitmq-discuss] Issues with basic_consume method !

ding tilak.singh at icreon.com
Thu Sep 5 13:33:59 BST 2013


Hi,

Few time I've configured rabbitmq on multiple servers and also implemented
rmq clustering on them. Each server is responsible for consuming messages
from number of queues (there are multiple queues) by using basic_consume
method. Recently I've encountered one issue with basic_consume method, that
is when a server consumes all messages from a queue after that it waits/keep
listening to queue for more messages...But after sometime if new messages
arrives into that queue then server stops to consume those new messages and
this issue occurs very randomly (not always).

Is there anyway to know if the queue is empty or not ? so that we can
terminate script instead of waiting/listening for new messages in queue..and
can anyone please help me to figure out why this issue occurs with rmq
basic_consume method ?

Thanks,
Ding






--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Issues-with-basic-consume-method-tp29378.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list