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


The following commit(s) were added to refs/heads/master by this push:
     new 97dd807  came-health - Spring Boot.
97dd807 is described below

commit 97dd807ab2c7725c30ae4e7508f711b1f5e9870f
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jun 9 09:53:20 2020 +0200

    came-health - Spring Boot.
---
 .../spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java
 
b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java
index 66a8ff6..31e7a3a 100644
--- 
a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java
+++ 
b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java
@@ -48,7 +48,7 @@ public class CamelHealthCheckAutoConfiguration {
     @ConditionalOnMissingBean(CamelHealthCheckIndicator.class)
     protected class CamelHealthCheckIndicatorInitializer {
 
-        @Bean
+        @Bean(name = "camelHealth")
         public HealthIndicator camelHealthCheckIndicator(CamelContext 
camelContext, CamelHealthCheckConfigurationProperties config) {
             if (config != null && config.getEnabled() != null && 
!config.getEnabled()) {
                 // health check is disabled
@@ -122,7 +122,6 @@ public class CamelHealthCheckAutoConfiguration {
 
             return new CamelHealthCheckIndicator(camelContext);
         }
-
     }
 
 }

Reply via email to