I just had a quick look at our activemq broker and the ObjectName should be:
org.apache.activemq:BrokerName=$YOURBROKERNAME,Type=Queue,Destination=$QUEUENAME Bye, Norman 2011/1/19 oscarfh2 <[email protected]>: > > Yes, this link I had, but it doesn't help me much regarding how to invoke the > operations using java code. > But this name you gave (QueueViewMBean) can help me a lot. I will do some > research. > > thanks a lot for your help, your really helped a lot! > Oscar > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Get-the-number-of-pending-messages-programatically-tp3225127p3225408.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >
