For testing purposes (infrastructure tests with load balancers etc.) it can be useful to make the result for a given tag(s) fail manually.
There are two options:
- provide a check that is configurable via JCR (using metatype configuration).
- provide a check that can be dynamically added via JMX
The second options is IMHO nicer, because it's easier to run a JMX operation (compared to adding/changing a configuration in JCR). Also if this feature is not being used, it should not clutter the list of available health checks.