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 2023/12/17 09:49:54 UTC

(camel-examples) branch main updated: CAMEL-20243: camel-main - Move route controller options into its own group

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-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 2de09624 CAMEL-20243: camel-main - Move route controller options into its own group
2de09624 is described below

commit 2de096244f243243da349476b368d7a42d5d6e4d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Dec 17 10:49:03 2023 +0100

    CAMEL-20243: camel-main - Move route controller options into its own group
---
 main-health/src/main/resources/application.properties | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/main-health/src/main/resources/application.properties b/main-health/src/main/resources/application.properties
index 2ea005d2..a73d0fd1 100644
--- a/main-health/src/main/resources/application.properties
+++ b/main-health/src/main/resources/application.properties
@@ -23,16 +23,23 @@ camel.main.name = MyHealthyCamel
 camel.main.load-health-checks = true
 
 # enable supervised route controller which will startup routes in safe manner
-camel.main.route-controller-supervise-enabled = true
+camel.route-controller.supervise-enabled = true
 # attempt up till 10 times to start a route (and exhaust if still failing)
 # when a route is exhausted then its taken out as being supervised and
 # will not take part of health-check either (UNKNOWN state)
-camel.main.route-controller-back-off-max-attempts = 10
+camel.route-controller.back-off-max-attempts = 10
+
+# when restarting a previously failed route
+# then we can control whether the route should be influence the health-check
+# and report the route as either UNKNOWN or DOWN. Setting this option to true
+# will report it as DOWN otherwise its UNKNOWN
+###camel.route-controller.unhealthy-on-restarting = true
+
 # when starting a route (and restarts) fails all attempts
 # then we can control whether the route should be influence the health-check
 # and report the route as either UNKNOWN or DOWN. Setting this option to true
 # will report it as DOWN otherwise its UNKNOWN
-###camel.main.route-controller-unhealthy-on-exhausted = true
+###camel.route-controller.unhealthy-on-exhausted = true
 
 # enable health check (is automatic enabled if discovered on classpath)
 # global flag to enable/disable