![](/img/trans.png)
[英]How can I use Glassfish's JMS Broker to “proxy” a message on to a JMS Broker on the internet?
[英]What tools can be used to monitor jms broker in GlassFish
Glassfish使用“打开消息队列”,它带有一个GUI管理工具以及一整套命令行工具。 您可以在Glassfish / imq / bin文件夹中找到它们。
如果需要,您还可以使用第三方应用程序,只需提供连接信息即可。
有关更多信息,请访问《 Oracle GlassFish Server Message Queue 4.5 管理指南》 。
从Payara 5(Glassfish 5的分支)开始,有一个新的选项可通过JMX之上的REST风格的api进行监视: https : //blog.payara.fish/rest-monitoring-in-payara-server
要启用该功能,请转到管理控制台/监控。 这样便可以使用所有可用的MBean。
例如,查看DMQ中当前的消息数:
https://localhost:4848/rest-monitoring/rest/read/com.sun.messaging.jms.server:type=DestinationManager,subtype=Monitor
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.