How to find the size of a Queue in HornetQ in real time

0

We have a scenario where we are seeing a Queue is full message in the logs but we can see that the number of messages for that same queue is 0 at that time. This doesn't make sense and we are trying to check the data at runtime.

I was wondering does anybody know if it is possible to find the size populated of a queue in HornetQ in realtime. Also is it possible to list the size of messages that are populating that same queue?

I am aware that there are commands that allow me to list the messages like:

/subsystem=messaging/hornetq-server=default/jms-queue=/:list-messages

However, I need more information on the size of the queues. This can be done via Java code and also via JConsole but I would need to know it is possible from command line.

Thanks a lot

user1039128

Posted 2019-05-21T10:55:34.023

Reputation: 1

No answers