This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch fix/CAMEL-23805 in repository https://gitbox.apache.org/repos/asf/camel.git
commit c8cbf72914c094d5beb383aa979b6a807134198c Author: Claus Ibsen <[email protected]> AuthorDate: Fri Jun 19 20:09:05 2026 +0200 CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled Co-Authored-By: Claude <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../apache/camel/component/platform/http/main/MainHttpServerUtil.java | 1 + .../apache/camel/impl/engine/DefaultSupervisingRouteController.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServerUtil.java b/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServerUtil.java index fae0037ff1cc..782e7e5c1db6 100644 --- a/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServerUtil.java +++ b/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServerUtil.java @@ -95,6 +95,7 @@ public class MainHttpServerUtil { @Override public boolean isEnabled(CamelEvent event) { return event instanceof CamelEvent.CamelContextStartedEvent + || event instanceof CamelEvent.CamelContextRoutesStartedEvent || event instanceof CamelEvent.RouteReloadedEvent; } diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java index af800dc3e0f9..3167772b362b 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java @@ -564,6 +564,9 @@ public class DefaultSupervisingRouteController extends DefaultRouteController im // log after first round of attempts (some routes may be scheduled for restart) logRouteStartupSummary(); } + + // signal that routes have been started so other services can react + EventHelper.notifyCamelContextRoutesStarted(getCamelContext()); } private void logRouteStartupSummary() {
