activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Whitney <adam.whit...@sony.com>
Subject Re: Activemq health
Date Mon, 23 Jan 2017 22:08:46 GMT
@rajdavies,

After reading https://issues.apache.org/jira/browse/AMQ-6252 and the Java
docs for HealthView and HealthViewMBean, as well as the latest source code
for HealthView.java (since 5.13.3) ... it looks like one would first need to
call HealthView.healthList() ... otherwise, the HealthViewMBean will always
report "Good" as the CurrentStatus.

Is there a way to trigger a call to HealthView.healthList() via Jolokia (or
any of the other web APIs for ActiveMQ)? Or would I need to write something
like a Broker Filter Plugin to call the HealthView.healthList() in order to
pre-populate the HealthView.CurrentStatus so it has some useful data when I
query it via Jolokia?

Note, I'm really only interested in the health status upon startup ... as a
way to make an automated test for zero-impact deployments. I won't be
checking the health other than immediately after a new deployment.

Thanks,
adam



--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-health-tp4675512p4721282.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message