Ahh.. I see now. So is there a way to tell how many messages the consumer currently has?<br><br><div class="gmail_quote">On Fri, Oct 23, 2009 at 12:17 PM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Oct 23, 2009 at 11:41:46AM -0500, Mark Nutter wrote:<br>
&gt; I&#39;m attempting to get the number of messages that are in a queue. �I&#39;m using<br>
&gt; a consumer to pull messages from the queue. �I&#39;ve tried using the<br>
&gt; queueDeclare getMessageCount() function and that gives me the message count<br>
&gt; *once* but every time after that it just gives me a message count of zero<br>
&gt; back. �Any other way of finding it? �Is the consumer somehow messing things<br>
&gt; up? �Thanks!<br>
<br>
</div>If the consumer has removed all the msgs from the queue, then the<br>
queueDeclare msg count will indeed be 0. The queueDeclare msg count only<br>
tells you the number of messages currently buffered in the queue.<br>
<br>
Matthew<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mark Nutter<br>612-205-1388<br><a href="mailto:marknutter@gmail.com">marknutter@gmail.com</a><br><a href="http://nuttersmark.com">http://nuttersmark.com</a><br>