JVM since0.3.0 Native since0.3.0
Expose Camel health checks via MicroProfile Health
Please refer to the above link for usage and configuration details.
Or add the coordinates to your existing project:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-microprofile-health</artifactId> </dependency>
Check the User guide for more information about writing Camel Quarkus applications.
You can register health checks for your applications with the Camel health check API.
By default, classes extending
AbstractHealthCheck are registered as both liveness and readiness checks. You can override the
isReadiness method to control this behaviour.
Any checks provided by your application are automatically discovered and bound to the Camel registry. They will be available via the Quarkus health endpoints
You can also provide custom
HealthCheckRepository implementations and these are also automatically discovered and bound to the Camel registry for you.
Refer to the Quarkus health guide for further information.
Provided health checks
Some checks are automatically registered for your application.
Camel Context Health
Inspects the Camel Context status and causes the health check status to be
DOWN if the status is anything other than 'Started'.
Additional Camel Quarkus configuration
Set whether to enable Camel health checks
| || |
Configuration property fixed at build time. All other configuration properties are overridable at runtime.