This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch backport/24144-to-camel-4.18.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit a7749e542c11221f40e9bf085c09c74f0678e409 Author: Claus Ibsen <[email protected]> AuthorDate: Fri Jun 19 20:29:32 2026 +0200 CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled (#24144) Signed-off-by: Claus Ibsen <[email protected]> Co-authored-by: Claude <[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 e585e32cc187..6fe3e66c63d4 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() {
