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-spring-boot-examples.git
The following commit(s) were added to refs/heads/master by this push: new d1607fd health check d1607fd is described below commit d1607fd9050f2857279768eaea6ba70c3dbb48e5 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jun 9 07:50:56 2020 +0200 health check --- camel-example-spring-boot-health-checks/pom.xml | 2 +- .../src/main/resources/application.properties | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/camel-example-spring-boot-health-checks/pom.xml b/camel-example-spring-boot-health-checks/pom.xml index 13bc89e..8cf97f3 100644 --- a/camel-example-spring-boot-health-checks/pom.xml +++ b/camel-example-spring-boot-health-checks/pom.xml @@ -70,7 +70,7 @@ <!-- Camel --> <dependency> <groupId>org.apache.camel.springboot</groupId> - <artifactId>camel-core-starter</artifactId> + <artifactId>camel-spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.apache.camel.springboot</groupId> diff --git a/camel-example-spring-boot-health-checks/src/main/resources/application.properties b/camel-example-spring-boot-health-checks/src/main/resources/application.properties index 9077b44..c94d8af 100644 --- a/camel-example-spring-boot-health-checks/src/main/resources/application.properties +++ b/camel-example-spring-boot-health-checks/src/main/resources/application.properties @@ -29,11 +29,18 @@ management.endpoints.web.exposure.include=info,health # show verbose health details (/actuator/health) so you can see Camel information also management.endpoint.health.show-details=always -camel.springboot.name = SampleHealthChecks +# to turn off Camel info in (/actuator/info) +management.info.camel.enabled=true +management.info.camel.verbose=true + +camel.springboot.name = MyCamel # enable JMX which allows to also control health check camel.springboot.jmx-enabled = true +# properties used in the route +myPeriod = 10s + # enable supervised route controller which will startup routes in safe manner camel.springboot.route-controller-supervise-enabled = true @@ -81,5 +88,3 @@ camel.health.config[netty].failure-threshold = 10 ###camel.health.config[*].interval = 10s ###camel.health.config[*].failure-threshold = 5 -# properties used in the route -myPeriod = 10s