This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 97c8b0b5ab605af32226715d3b1b02f99eae1123 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Jul 28 07:07:54 2023 +0200 CAMEL-18992: HealthCheckComponent to be able to enable/disable per component health-checks as standard component configuration. --- docs/user-manual/modules/ROOT/pages/health-check.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/health-check.adoc b/docs/user-manual/modules/ROOT/pages/health-check.adoc index 3cce4866efb..73d6f139db8 100644 --- a/docs/user-manual/modules/ROOT/pages/health-check.adoc +++ b/docs/user-manual/modules/ROOT/pages/health-check.adoc @@ -110,6 +110,24 @@ camel.health.exclude-pattern = consumer:myroute* which will turn off checks for all consumers on routes that starts with `myroute` in the route ID. +=== Turning off health checks from components + +Some Camel components comes with health-checks. + +For example to turn off all health checks from the Kafka component you can do: + +[source,properties] +---- +camel.component.kafka.health-check-enabled = false +---- + +You can also turn off only consumer or producer based checks: + +[source,properties] +---- +camel.component.kafka.health-check-producer-enabled = false +---- + == JMX management The health check is manageable via JMX (requires `camel-management` JAR on the classpath).