我如何观察 ActiveMQ 背后发生的情况?

发布于 2024-07-08 14:56:40 字数 290 浏览 7 评论 0原文

我遇到问题使用 ActiveMQ 并希望跟踪/查看所有 ActiveMQ 活动。 我能找到的唯一日志文件是与持久数据相关的日志文件(如果此功能已打开)。 我是否查看或生成了任何其他日志文件来告诉我 ActiveMQ 背后发生了什么以及为什么我的消费者不消费消息? 还有其他建议吗?

提前致谢!

I'm experiencing an issue with ActiveMQ and would like to trace/view all ActiveMQ activity. The only log file I can find is one associated with persistent data (if this is turned on). Are there any other log files I view or generate to tell me what's happening under the hood of ActiveMQ and why my consumers aren't consuming messages? Any other suggestions?

Thanks in advance!

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

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

发布评论

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

评论(3

早茶月光 2024-07-15 14:56:40

activemq 有一个可以连接的 jmx 接口。

这使我们能够访问队列中的消费者计数消息以及有关内存使用情况等的各种数据。

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

包含帮助您入门的所有详细信息。

我发现它非常适合了解 activemq 的情况。

快速启动 jconsole,您就可以很好地了解发生了什么。

保罗

activemq has a jmx interface that you can connect to.

this gives us access to consumer counts messages queued dequeue and all sorts of data on memory usage etc.

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

Has all the details to get you started.

I find it excellent in finding out whats going on with activemq.

A quick firing up of jconsole and you will be well on your way to finding out what is going on.

Paul

橘虞初梦 2024-07-15 14:56:40

同意。 您还可以添加 日志拦截器 这会有所帮助。

最后,为了浏览消息、移动消息、创建/删除队列和发送消息,我强烈推荐用于 ActiveMQ、Camel 和许多其他 插件hawtio

Agreed. Also you can add the logging interceptor which helps.

Finally for browsing messages, moving them, creating/deleting queues and sending message I highly recommend the new web console for ActiveMQ, Camel and many other plugins: hawtio

維他命╮ 2024-07-15 14:56:40

尝试 HawtIO。 假设您没有使用 Active MQ 5.9,您可以将此功能添加到您的代理中。 它是一个更好的 Web 控制台,也是一个很好的 JMX 监控实用程序。

http://www.christianposta.com/blog/?p=315

Try HawtIO. Assuming you are not using Active MQ 5.9 you can add this feature to your broker. It is a much better web console and a good JMX monitoring utility as well.

http://www.christianposta.com/blog/?p=315

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