When statistics reporting is enabled for a broker, the broker
publishes a statistics report at regular intervals (as determined by the value
specified for the statsInterval property of the broker). The statistics reported
is distributed, as a publication, to all subscribers that subscribed to the
topic
$SYS/Broker/broker name/ExecutionGroup/execution group/Statistics
where
broker
name is the name of the broker, and
execution group is the name
of the execution group that is deployed to that broker.
You can use wild cards when you subscribe to statistics reports.
For example, to receive statistics reports for all brokers
and all execution groups, subscribe to the topic
$SYS/Broker/+/ExecutionGroup/+/Statistics
Subscribers receive statistics reports only
from those brokers that have been enabled to produce statistics.
The
publication is a JMS Bytes Message that contains the statistics report in
XML format.