Search code examples
javarabbitmqamqp

How do i get count of unacked messages from rabbitmq using java code


I got the total messagecount in the queue but i am unable to count ready and unacked messages.


Solution

  • You can't get the count of unacked message using java (I mean programmatically).

    However you can get it :

    • Using rabbitmqctl command line
    • Using Rest API

    You can get more info here : http://www.rabbitmq.com/management.html