Replying to myself for the benefit of others: I can't make it to work over the net, at
least between windows and linux machines, but the following works perfectly fine if run
directly on the server.
[root@fakehost bin]# ./twiddle.sh -u admin -p XXXXX get
"jboss.mq.destination:service=Queue,name=QUEUE-XXX" QueueDepth
| QueueDepth=0
| [root@fakehost bin]# ./twiddle.sh -u admin -p XXXXX get
"jboss.mq.destination:service=Queue,name=QUEUE-YYY" QueueDepth
| QueueDepth=0
| [root@fakehost bin]# ./twiddle.sh -u admin -p XXXXX get
"jboss.mq.destination:service=Queue,name=QUEUE-YYY" SubscribersCount
| SubscribersCount=10
| [root@fakehost bin]# ./twiddle.sh -u admin -p XXXXX get
"jboss.mq.destination:service=Queue,name=QUEUE-XXX" SubscribersCount
| SubscribersCount=10
The attribute SubscribersCount tells you how many subscribers are listening on the queue,
while QueueDepth tells you how many messages are currently in the queue.
HTH
Giuliano
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148694#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...