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.

[EMAIL PROTECTED] bin]# ./twiddle.sh -u admin -p XXXXX get 
"jboss.mq.destination:service=Queue,name=QUEUE-XXX" QueueDepth
  | QueueDepth=0
  | [EMAIL PROTECTED] bin]# ./twiddle.sh -u admin -p XXXXX get 
"jboss.mq.destination:service=Queue,name=QUEUE-YYY" QueueDepth
  | QueueDepth=0
  | [EMAIL PROTECTED] bin]# ./twiddle.sh -u admin -p XXXXX get 
"jboss.mq.destination:service=Queue,name=QUEUE-YYY" SubscribersCount
  | SubscribersCount=10
  | [EMAIL PROTECTED] 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#4148694

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148694
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to