[jboss-user] [JBoss Messaging] - Re: Cumulative message counts?
Ryan Hochstetler
do-not-reply at jboss.com
Tue Sep 6 10:46:36 EDT 2011
Ryan Hochstetler [http://community.jboss.org/people/ryanhos] created the discussion
"Re: Cumulative message counts?"
To view the discussion, visit: http://community.jboss.org/message/625063#625063
--------------------------------------------------------------
Cumulative message counts for queues can be enabled by setting the +EnableMessageCounters+ attribute on the ServerPeer MBean declaration (messaging-service.xml in the community distro) or by invoking the enableMessageCounters method of the ServerPeer MBean from the JMX console. The output can be retrieved from the +MessageCounters+ attribute of the same MBean or by invoking the +listMessageCountersAsHTML+ method. The deltas in the counters are, I believe (and have been too lazy to dig-up the documentation), the difference since last access of the message counters themselves (of course, deltas are "differences," my uncertainty is the difference from "when to when").
I don't have any knowledge on how this mechanism counts messages for Topic subscriptions because I've never had to diagnose a problem with one. All of the Topics on my project are very low volume and they've never gone haywire, like JBM queues sometimes are inclined to do.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/625063#625063]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110906/67dffe8c/attachment.html
More information about the jboss-user
mailing list