[ 
https://issues.apache.org/jira/browse/SLING-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743739#comment-13743739
 ] 

Carsten Ziegeler commented on SLING-3021:
-----------------------------------------

I rewrote the jmx registration: a health check is now only registered, if it 
sets the hc.mbean.name property. This value is used for the name property of 
the object name. All services with such a property are registered in the domain 
org.apache.sling.healthcheck and have the type property set to HealthCheck.
If there is more than one service with the same hc.mbean.name property, the one 
with highest service ranking is used.

Rev 1515349
                
> Use service properties for HC meta data and improve JMX registration
> --------------------------------------------------------------------
>
>                 Key: SLING-3021
>                 URL: https://issues.apache.org/jira/browse/SLING-3021
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Carsten Ziegeler
>
> As discussed in the mailing list, we can simplify the health check api by 
> using service properties for all meta data of a HC.
> In addition, the jmx registration bridge needs updates on how to handle if 
> two HC services are using the same name for registration
> Mail threads:
> http://mail-archives.us.apache.org/mod_mbox/sling-dev/201308.mbox/%3CCAKkCf4r89JbsVP_-RQK=r304wbl8gqpzaq4rw3z9sijwbbo...@mail.gmail.com%3E
> http://mail-archives.us.apache.org/mod_mbox/sling-dev/201308.mbox/%3ccakkcf4q79no26va542s_qghof1f1uvsjnyls6as_2xqczre...@mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to