-
1. How to Know the No of Messages In Queue/Topic
welle Mar 20, 2011 8:49 PM (in response to vinayknr41)You can always find them in the JMX console.
Use the following "ObjectName Filter" to try to find all queues (exchange to "Topic" if that is what you want to search for)
"*:service=Queue,*"
(The Adminconsole has its limits, but hopefully someone else can make it a bit smarter or point out howto set it up properly)
-
2. How to Know the No of Messages In Queue/Topic
vinayknr41 Mar 21, 2011 12:53 AM (in response to welle)Hi Anders ..
Thank you very much for answering for my question ...But to be frank , i dint get that ....Iam new to Jboss Messaging...So , can you pls pls elaborate it like how & where to add ObjectName Fileter that you specified ......??
And One more thing is that , After Creating Topic Its Status is Coming as down in admin Console ...I have Created Topic in this fashion :
<mbean
code="org.jboss.jms.server.destination.TopicService"
name="jboss.messaging.destination:service=Topic,name=ReceivingTopic"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<attribute name="JNDIName">MessageBeanTopic</attribute>
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
</depends>
<depends>
jboss.messaging:service=PostOffice
</depends>
</mbean>
Is it proper way to create ?? Pls help
-
3. How to Know the No of Messages In Queue/Topic
welle Mar 21, 2011 12:59 AM (in response to vinayknr41)The config looks fine!
Open the JMX Console (http://localhost:8080/jmx-console) and look under "jboss.messaging.destination". You should find some
MBeans there that you can use to get statistics about your JMS resources!