You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/12/08 08:19:42 UTC
(camel) branch main updated: Polished
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 54c69d8e425 Polished
54c69d8e425 is described below
commit 54c69d8e425f0e10a5e2078599fc5c7778de1c55
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Dec 8 09:19:20 2024 +0100
Polished
---
docs/user-manual/modules/ROOT/pages/health-check.adoc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/health-check.adoc b/docs/user-manual/modules/ROOT/pages/health-check.adoc
index bf466ed7fcf..006a4815231 100644
--- a/docs/user-manual/modules/ROOT/pages/health-check.adoc
+++ b/docs/user-manual/modules/ROOT/pages/health-check.adoc
@@ -93,13 +93,12 @@ The same can also be done programmatically using the Camel health api:
----
HealthCheckRepository consumersHealthCheckRepository = HealthCheckHelper.getHealthCheckRepository(context, "consumers");
-if(consumersHealthCheckRepository!=null) {
- consumersHealthCheckRepository.setEnabled(false);
+if (consumersHealthCheckRepository != null) {
+ consumersHealthCheckRepository.setEnabled(false);
}
----
-
=== Configuring initial state
The initial state of health-checks (readiness). There are the following states: UP, DOWN, UNKNOWN.