除了使用 JMX API 之外,监视 apache Active MQ 的最佳替代方法是什么

发布于 2024-08-05 08:10:39 字数 217 浏览 2 评论 0原文

我已经尝试并测试了 JMX API,它使用起来非常简单,并且提供了监控 ActiveMQ 所需的大量统计信息。

但问题是,我不想远程监控我的 ActiveMQ,也不想使用另一个 API。更准确地说,我想使用 JMS API 本身来获取与各个目的地和代理本身相关的统计信息。

建议消息似乎是一种替代方案,但它们提供的管理消息数量有限以供监控。

任何意见都将受到高度赞赏...

I have tried and tested the JMX API and it is pretty simple to use and provides a vast number of statistics required for monitoring ActiveMQ.

But the problem is, i dont want to monitor my ActiveMQ remotely and also i dont want to use another API.To be more precise, i want to use the JMS API itself to get statistics related to various destinations and the broker itself.

Advisory messages seem to be an alternative but they provide limited Amount of Administrative Messages to monitor.

Any input is highly appreciated...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

奈何桥上唱咆哮 2024-08-12 08:10:39

对此没有内置支持。但是您可以实现一个 JMS 主题,每隔几秒发布一次监控数据。使连接成为非持久连接,以便在没有侦听器或连接断开时连接不会堆积。

现在您可以编写一个连接到该主题的客户端,它将接收更新。

There is no built-in support for this. But you can implement a JMS topic which publishes the monitoring data every few seconds. Make the connection non-persistent so that it doesn't pile up when there are no listeners or when they loose connection.

Now you can write a client that connects to this topic and it will receive updates.

小女人ら 2024-08-12 08:10:39

AMQ-2379 产生了一个代理插件,用于通过发送简单的 JMS 消息从目的地获取统计信息。在此处查看显示如何使用它的文档:

http://activemq.apache.org/statisticsplugin。 html

统计插件在 5.3 版本中可用。

AMQ-2379 resulted in a broker plugin for grabbing statistics from destinations by sending a simple JMS message. Check out the docs that show how to use it here:

http://activemq.apache.org/statisticsplugin.html

The statistics plugin is available in the 5.3 release.

眼眸 2024-08-12 08:10:39

您可以查看此 http://issues.apache.org/activemq/browse/AMQ- 2379,它将在即将发布的 5.3.0 版本中提供

You can checkout this http://issues.apache.org/activemq/browse/AMQ-2379, it will be avaiable in upcoming 5.3.0 release

偏闹i 2024-08-12 08:10:39

有一篇博客文章正在排队 http://issues.apache.org/activemq /browse/AMQ-2379 - 将在几天左右发布

There's a blog post queued up to go on http://issues.apache.org/activemq/browse/AMQ-2379 - will post it in a couple of days or so

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文