简体   繁体   中英

What tools can be used to monitor jms broker in GlassFish

I use Open MQ GUI Administration Console (in Glassfish installation directory) and QBrowser . Are any other tools to be considered?

Glassfish uses "Open Message Queue" and it comes with a GUI admin tool plus a full suite of command line tools. You can find these in the Glassfish/imq/bin folder.

You can also use a 3rd party app if you wanted as well, you just need to supply the connection info.

Visit the Oracle GlassFish Server Message Queue 4.5 Administration Guide for more info.

Starting with Payara 5 (fork of Glassfish 5) there is a new option for monitoring via a REST style api on top of JMX: https://blog.payara.fish/rest-monitoring-in-payara-server

To enable that go to Admin Console / Monitoring. Then you are able to use all the available MBeans.

For example to see number of messages currently in DMQ:

https://localhost:4848/rest-monitoring/rest/read/com.sun.messaging.jms.server:type=DestinationManager,subtype=Monitor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM