Glassfish v3 enables convenient monitoring of JMS destinations, directly from the web-based admin console. There are about 40 statistics available for each physical queue.
Some of them are: Number of Producers, Number of Consumers, Peak Number of Consumers, Number of Messages, Number of Messages Held in Transaction, Number of Messages Received, Number of Messages Sent, Peak Message Size etc.
To access the statistics open (in the admin console) the node: Java Message Service -> Physical Destinations the choose a destination and click on "View".
This new feature is very useful for debugging and performance monitoring of JMS applications (like tunguska :-)). Another reason to upgrade from Glassfish v2.
airhacks.fm the podcast:
Stay in touch: airhacks.news.