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-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push: new 7d802f8 CAMEL-20243: camel-main - Move route controller options into its own group 7d802f8 is described below commit 7d802f87b7c0da141ea523a2d18390faefceb8e6 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun Dec 17 11:57:21 2023 +0100 CAMEL-20243: camel-main - Move route controller options into its own group --- .../src/main/resources/application.properties | 2 +- health-checks/src/main/resources/application.properties | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/actuator-http-metrics/src/main/resources/application.properties b/actuator-http-metrics/src/main/resources/application.properties index b917daa..839e7be 100644 --- a/actuator-http-metrics/src/main/resources/application.properties +++ b/actuator-http-metrics/src/main/resources/application.properties @@ -36,4 +36,4 @@ metricsPeriod = 2s shutdownTime = 10s # enable supervised route controller which will startup routes in safe manner -camel.springboot.route-controller-supervise-enabled = true +camel.routecontroller.enabled = true diff --git a/health-checks/src/main/resources/application.properties b/health-checks/src/main/resources/application.properties index b219a84..21f0fbb 100644 --- a/health-checks/src/main/resources/application.properties +++ b/health-checks/src/main/resources/application.properties @@ -42,17 +42,24 @@ camel.springboot.jmx-enabled = true myPeriod = 10s # enable supervised route controller which will startup routes in safe manner -camel.springboot.route-controller-supervise-enabled = true +camel.routecontroller.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.springboot.route-controller-back-off-max-attempts = 10 +camel.routecontroller.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.routecontroller.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.springboot.route-controller-unhealthy-on-exhausted = true +###camel.routecontroller.unhealthy-on-exhausted = true # enable health check (is automatic enabled if discovered on classpath) # global flag to enable/disable