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.git
commit 449d690d900f4a4a6197ccf63dcee42611879b98 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun May 31 14:38:18 2020 +0200 camel-health - polished --- .../org/apache/camel/impl/engine/AbstractCamelContext.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java index 9d005d2..04a3c0a 100644 --- a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java +++ b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java @@ -2802,6 +2802,11 @@ public abstract class AbstractCamelContext extends BaseService internalRouteStartupManager.doStartOrResumeRoutes(routeServices, true, !doNotStartRoutesOnFirstStart, false, true); EventHelper.notifyCamelContextRoutesStarted(this); + HealthCheckRegistry hcr = getExtension(HealthCheckRegistry.class); + if (hcr != null && hcr.isEnabled()) { + LOG.debug("HealthCheck module loaded ({})", hcr.getId()); + } + long cacheCounter = beanIntrospection != null ? beanIntrospection.getCachedClassesCounter() : 0; if (cacheCounter > 0) { LOG.debug("Clearing BeanIntrospection cache with {} objects using during starting Camel", cacheCounter); @@ -2812,11 +2817,6 @@ public abstract class AbstractCamelContext extends BaseService LOG.debug("BeanIntrospection invoked {} times during starting Camel", invokedCounter); } - HealthCheckRegistry hcr = getExtension(HealthCheckRegistry.class); - if (hcr != null && hcr.isEnabled()) { - LOG.info("HealthCheck enabled ({})", hcr.getId()); - } - // starting will continue in the start method }