.net - Check RabbitMQ queue size from client -


Does anyone know that there is no way to check the number of messages in the rabbit MQ que from the client application?

I am using .NET Client Library.

You can actually get it by the client. When the queue_declare operation is done, the subtitle consists of three toupals containing (& lt; queue name & gt;, & lt; message count & gt ;, & lt; consumer count & gt;) Gives . The Dormant argument for Queue_declare tells you whether the queue server exists without modifying the state or not. You can check the length of qe using the disable option from queue_declare . Not sure about .NET, but something like Python appears:

  names, jobs, consumers = chan.queue_declare (queue = queuename, passive = true)  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -