I believe jboss 7 has a web-based admin console. Or you can use jconsole via jmx.
I tried that, but cannot see processing queues while they are running in my application.
I refreshed it but always 0 count. I am using this console (http://localhost:9990).In-Flight Messages
Messages in Queue:
I am wondering if there is any setting (in standalone.xml?) to control this viewing?
It means there is no messages staying in the queue and no messages are being in delivery state. It doesn't mean anything wrong, unless the number doesn't match your actual situation. For example you know you have some messages in delivery but the console still show that it is zero.
Hi Yong Hao,
That makes sense to me, but I have a requirement of ability of deleting some of the ongoing messages. Do you know if there is any tool that can do this?
HornetQ exposes a QueueControl interface via JMX. So if you have jconsole setup, you will find it under each Queue, and you can use removeMessage() operation to delete messages.
Can you show me a little bit detailedly how to use the removeMessage() API to do the deletion?