JMS communication channel monitoring facilities in JON
Environment
- JBoss Operations Network (JON) 2.4.0
Issue
- Would JON be able to give me the below JMS stats:
-Number of bytes received per communication channel (regardless if there were any subscribers).
-Number of bytes received per subscriber.
-Number of messages received per subscriber.
-Number of messages received per each channel.
-Number of messages consumed.
-Number of messages waiting to be consumed.
Resolution
JON does not collect these metrics. So, collecting such metrics would be an RFE. But in order to do that, you must answer the main question. Does JMS/EAP provide these metrics?
- Number of bytes received per communication channel (regardless if there were any subscribers).
EAP doesn't track this.
- Number of bytes received per subscriber.
EAP doesn't track this.
- Number of messages received per subscriber.
EAP doesn't track this.
- Number of messages received per each channel.
This is available via the "Count" variable of the MessageCounter on the destination. To enable message counters this must be set in messaging-service.xml:
<attribute name="EnableMessageCounters">true</attribute>
This is the All Message Count Metric in JON.
- Number of messages consumed.
EAP doesn't track this.
- Number of messages waiting to be consumed.
This is the Depth Metric in JON.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
