anchor.diff:  ----
   
   You can now make _MyHealthCheck_ available to camel by adding an instance to the application context (Spring, Blueprint) or directly to the registry.
  +The example `camel-example-main-health` has a custom health check.
  +
  +== Examples
  +
  +You can find a standalone example in the Camel examples in the `camel-example-main-health` directory.
  
positive.code: [[HealthCheck-HealthCheck]]
  = Health Checks
  
  *Since Camel 2.20*
  
  Camel provides support to probe the state of an integration via a pluggable Health Check strategy based on the following concepts:
  
  - *HealthCheck:* represents a health check and defines its basic contract;
  - *HealthCheckResponse:* represents a health check invocation response;
  - *HealthCheckConfiguration:* a basic configuration object that holds some basic settings like the minimum delay between calls, the number of times a service may be reported as unhealthy before marking the check as failed; besides these simple options, the check implementation is responsible for implementing further limitations where needed;
  - *HealthCheckRegistry:* a registry for health checks;
  - *HealthCheckRepository:* a simple interface to define health check providers. By default there is one that grabs all the checks available in the registry so you can add your own check i.e. istantiating your bean in spring/spring-boot; components can provide their own repository;
  
  
  == Writing a custom check:
  
  
negative.code: public final class MyHealthCheck extends AbstractHealthCheck {
  
      public MyHealthCheck() {
          super("myapp", "my-check");
      }
  
      @Override
  