[ 
https://issues.apache.org/jira/browse/AMQ-6172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish closed AMQ-6172.
-----------------------------
    Resolution: Not A Problem

Closing this out as it is working as designed and there doesn't seem to be any 
issues with call the health methods exposed via Jolokia 

> Broker Health check status never updates
> ----------------------------------------
>
>                 Key: AMQ-6172
>                 URL: https://issues.apache.org/jira/browse/AMQ-6172
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.1
>            Reporter: Yevhenii Pazii
>
> Method getCurrentStatus of HealthViewMBean class never changes status even if 
> broker have critical conditions. No matter how this methods calls through JMX 
> or jolokia.
> Method returns instance field without any calculations. 
> {quote}
>     public String getCurrentStatus() \{
>         return this.currentState;
>     }
> {quote}
> The method which actually updates this field is  "List<HealthStatus> 
> healthList() throws Exception;". As far as I know no one else call this 
> method, so status field never updates. This method works fine by JMX, but it 
> doesn't exposed to jolokia for Rest calls.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to