Skip to content

Commit ea24f89

Browse files
committed
CAMEL-17587: camel-health - Make Health Check API simpler
1 parent 444be39 commit ea24f89

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

health-checks/readme.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This example shows how to work with a simple Apache Camel application using Spring Boot.
44

5-
NOTE: Some of the routes fail intentionally to have health check monitor their failures
5+
NOTE: Some routes fail intentionally to have health check monitor their failures
66

77
=== How to run
88

health-checks/src/main/resources/application.properties

-13
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,8 @@ camel.health.registry-enabled = true
6666
### camel.heath.config[netty].check = routes
6767
### camel.heath.config[netty].enabled = false
6868

69-
# and configure each individually
70-
camel.health.config[timer].parent = routes
71-
camel.health.config[timer].interval = 5000
72-
camel.health.config[netty].parent = routes
73-
camel.health.config[netty].interval = 20000
74-
camel.health.config[netty].failure-threshold = 10
75-
7669
# find grained routes configuration per route (support wildcards)
7770
# (enabled is default true for discovered health-checks)
7871
### camel.health.config[*].enabled = true
7972

80-
# allow 5 failures with 10s apart as slack to handle routes being flaky
81-
# however if after 5 failures then the state will be regarded as DOWN onwards
82-
# (the route can recover and the state will then be UP)
83-
###camel.health.config[*].parent = routes
84-
###camel.health.config[*].interval = 10s
85-
###camel.health.config[*].failure-threshold = 5
8673

0 commit comments

Comments
 (0)