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
The following commit(s) were added to refs/heads/main by this push: new fa4eb71e10c CAMEL-19645: producer based health checks is disabled by default. fa4eb71e10c is described below commit fa4eb71e10ce7db863b94e1895eedab89b205356 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Jul 28 16:28:07 2023 +0200 CAMEL-19645: producer based health checks is disabled by default. --- .../org/apache/camel/impl/health/ProducersHealthCheckRepository.java | 2 +- docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/camel-health/src/main/java/org/apache/camel/impl/health/ProducersHealthCheckRepository.java b/core/camel-health/src/main/java/org/apache/camel/impl/health/ProducersHealthCheckRepository.java index 4a0036d63b6..fee0735af94 100644 --- a/core/camel-health/src/main/java/org/apache/camel/impl/health/ProducersHealthCheckRepository.java +++ b/core/camel-health/src/main/java/org/apache/camel/impl/health/ProducersHealthCheckRepository.java @@ -42,7 +42,7 @@ public class ProducersHealthCheckRepository extends ServiceSupport private final List<HealthCheck> checks; private volatile CamelContext context; - private boolean enabled = true; + private boolean enabled; // default disabled public ProducersHealthCheckRepository() { this.checks = new CopyOnWriteArrayList<>(); diff --git a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc index c08dc3f2c3e..f5843df91ab 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc @@ -153,6 +153,10 @@ one of each out of the box. Only consumer based health-checks is enabled by default. +=== Producer Health Checks + +The option `camel.health.components-enabled` has been renamed to `camel.health.producers-enabled`. + Some components (in particular AWS) provides also health checks for producers; in Camel 3.x these health checks did not work properly and has been disabled in the source. To continue this behaviour in Camel 4, then producer based health checks are disabled.