[rabbitmq-discuss] Checking number of messages in Queue

Ben Hood 0x6e6562 at gmail.com
Mon Nov 3 19:43:50 GMT 2008


Steve,

On Mon, Nov 3, 2008 at 1:08 AM, Steve Weaver <weaveinator at gmail.com> wrote:
> Hi -
> Is there a way to determine how many messages are in a particular queue?  I
> have looked threw the docs and not found anything.  Sorry if I should know
> this one.

You can use the Queue.Declare command. I explained how this works on
the AMQP Ruby list:

http://groups.google.com/group/ruby-amqp/browse_thread/thread/6cf43a2daa51c235

HTH,

Ben




More information about the rabbitmq-discuss mailing list