WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Subscribing to statistics reports

You can subscribe to topics that return statistics about the operation of your message flows and resource managers.

Message flow performance

If you enable message flow accounting and statistics collection for a broker, you can subscribe to the messages that the broker publishes on the following topic:

$SYS/Broker/brokerName/StatisticsAccounting/recordType/executionGroupLabel/messageFlowLabel

where broker_name is the name of the broker, recordType is the type of record (SnapShot or Archive), executionGroupLabel is the name of the execution group that you created on that broker, and messageFlowLabel is the name of the message flow that you deployed to the execution group.

These messages contain statistics reports and are published at a regular interval, which you control by setting the statsInterval property of the broker. Each publication is a JMS TextMessage that contains the statistics report in XML format.

Note: If you need to revert to using a JMS BytesMessage format, this can be achieved by setting the environment variable MQSI_STATS_MQSTR=false.

Resource performance

If you enable resource statistics collection for one or more execution groups on a broker, you can subscribe to the messages that the broker publishes at 20-second intervals on the following topic:
$SYS/Broker/brokerName/ResourceStatistics/executionGroupLabel

For more information about how to interpret the resource statistics that are included in the publication, see Viewing resource statistics data in the WebSphere Message Broker Explorer.

Using wildcards in subscriptions

You can use wild cards when you subscribe to statistics reports. For example, to receive message flow statistics reports for all brokers and all execution groups, subscribe to the following topic:
$SYS/Broker/+/StatisticsAccounting/#

To receive execution group resource statistics reports for all brokers and all execution groups, subscribe to the following topic:

$SYS/Broker/+/ResourceStatistics/#
For further details about how you can use wildcards, see Special characters in topics.

Subscribers receive statistics reports only from those brokers that are enabled to produce statistics.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:27


Task topicTask topic | Version 8.0.0.7 | aq20080_