[英]ActiveMQ JMS ping
Apache Activemq 5.2.0 Apache Activemq 5.2.0
My application listens to messages on three topics and sends messages on 2 topics. 我的应用程序侦听三个主题的消息,并发送有关两个主题的消息。 When my application is "webping"ed, I want to check if these topics are alive.
当我的应用程序是“webping”时,我想检查这些主题是否还活着。 I would like to know if this is possible.
我想知道这是否可行。 Here are my observations,
以下是我的观察,
I understand JMS is not for monitoring but if I am a producer for a topic, it will be good to know if I can produce on the topic with reasonable comfort level. 我理解JMS不是用于监控,但如果我是一个主题的制作人,那么知道我是否能够以合理的舒适程度制作主题将是一件好事。 I also agree between a ping and a message the channel can go down and that is an acceptable failure for me.
我也同意ping和消息,频道可以关闭,这对我来说是一个可接受的失败。
I just want a health check system/page which can say "yes topics are there and the activemq is running" 我只想要一个健康检查系统/页面,可以说“是的主题在那里,activemq正在运行”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.