This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/master by this push:
new dc21bf2 Polished
dc21bf2 is described below
commit dc21bf254dbe8810911b142ffba96142aafe1040
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jun 2 14:22:14 2020 +0200
Polished
---
.../src/main/resources/application.properties | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git
a/examples/camel-example-main-health/src/main/resources/application.properties
b/examples/camel-example-main-health/src/main/resources/application.properties
index 81f4a26..cfbbd6a 100644
---
a/examples/camel-example-main-health/src/main/resources/application.properties
+++
b/examples/camel-example-main-health/src/main/resources/application.properties
@@ -36,6 +36,19 @@ camel.health.enabled = true
camel.health.context.enabled = true
# turn on routes check too
camel.health.routes.enabled = true
+
+# registry is always enabled (but can be turned off)
+#camel.health.registry.enabled = true
+
+# you can turn on individual routes as shown below
+# camel.health[routes][timer].enabled = true
+# camel.health[routes][netty].enabled = false
+
+# and configure each individually
+# camel.health[routes][timer].interval = 5s
+# camel.health[routes][netty].interval = 20s
+# camel.health[routes][netty].failure-threshold = 10
+
# find grained routes configuration per route (support wildcards)
camel.health[routes][*].enabled = true
# allow 5 failures with 10s apart as slack to handle routes being flaky