<div dir="ltr">Hi, <div><br></div><div>I want to check </div><div><br></div><div>1. What is the best practice to get the number of messages in a queue. </div><div>    I know I can get it via queue.getMessageCount()<br></div>
<div>    I also know that you can get it as the monitor plugin gets it. is it an http request? or with the rabbitmqctl application.(JNI?) ?</div><div>    What is the best way if I want to react only when X messages arrive?</div>
<div>2. And more important - can I get the number of messages in a queue via push?</div><div><br></div><div>Can I declare a threshold to receive a push notification (e.g. get a signal every time I have 5000 messages)</div>
<div><br></div></div>