This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch console in repository https://gitbox.apache.org/repos/asf/camel.git
commit 39cfe73f816b1a71d5cf671a163d8fe85207f10c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Dec 29 14:03:17 2021 +0100 CAMEL-17384: Developer Console SPI --- core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java index b4c1954..7abda445 100644 --- a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java +++ b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java @@ -831,6 +831,7 @@ public abstract class BaseMainSupport extends BaseService { MainSupportModelConfigurer.setThreadPoolProperties(camelContext, mainConfigurationProperties, threadPoolProperties, mainConfigurationProperties.isAutoConfigurationFailFast(), autoConfiguredProperties); } + // need to let camel-main setup health-check using its convention over configuration boolean hc = mainConfigurationProperties.health().getEnabled() != null; // health-check is enabled by default if (hc || !healthProperties.isEmpty() || mainConfigurationProperties.hasHealthCheckConfiguration()) { LOG.debug("Auto-configuring HealthCheck from loaded properties: {}", healthProperties.size());