Author: rajdavies
Date: Fri Sep 11 10:30:17 2009
New Revision: 813764
URL: http://svn.apache.org/viewvc?rev=813764&view=rev
Log:
Added some more information in the comments about how to use
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBrokerPlugin.java
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBrokerPlugin.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBrokerPlugin.java?rev=813764&r1=813763&r2=813764&view=diff
==============================================================================
---
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBrokerPlugin.java
(original)
+++
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBrokerPlugin.java
Fri Sep 11 10:30:17 2009
@@ -23,6 +23,14 @@
/**
* A StatisticsBrokerPlugin
+ * You can retrieve a Map Message for a Destination - or
+ * Broker containing statistics as key-value pairs The message must contain a
+ * replyTo Destination - else its ignored
+ * To retrieve stats on the broker send a empty message to
ActiveMQ.Statistics.Broker (Queue or Topic)
+ * With a replyTo set to the destination you want the stats returned to.
+ * To retrieve stats for a destination - e.g. foo - send an empty message to
ActiveMQ.Statistics.Destination.foo
+ * - this works with wildcards to - you get a message for each wildcard match
on the replyTo destination.
+ * The stats message is a MapMessage populated with statistics for the target
* @org.apache.xbean.XBean element="statisticsBrokerPlugin"
*
*/