This content has been marked as final.
Show 1 reply
-
1. Re: Monitoring and controlling of JMS queues on JBoss 5.1 server
jaysensharma May 4, 2015 8:48 AM (in response to kliczko)Hello Artur,
You can try using twiddle utility to collect such informations like:
./twiddle.sh -s localhost:1099 -u admin -p admin get "jboss.messaging.destination:name=TestQ,service=Queue" MessageCount PageSize FullSize MaxSize DeliveringCount ScheduledMessageCount
Ans to delete all messages from a queue (means to empty it)
./twiddle.sh -s localhost:1099 -u admin -p admin invoke"jboss.messaging.destination:name=TestQ,service=Queue" removeAllMessages
See more about twiddle commands: http://middlewaremagic.com/jboss/?p=726
You can alos use the jmx-console to monitor the JMS statistics and JConsole like MBean based utilities as well.