activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: Activemq health
Date Sat, 28 Jan 2017 16:37:41 GMT
On 01/23/2017 05:08 PM, Adam Whitney wrote:
> @rajdavies,
> After reading and the Java
> docs for HealthView and HealthViewMBean, as well as the latest source code
> for (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:
> Sent from the ActiveMQ - User mailing list archive at

I beleive if you call healthStatus you will get the current state as 
that both the call to healthList and then gets the current state.

Tim Bish
twitter: @tabish121

View raw message