This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.18.x by this push:
     new 523b0eba0973 [backport camel-4.18.x] CAMEL-23805: HTTP endpoint 
summary not logged when supervised route controller is enabled (#24145)
523b0eba0973 is described below

commit 523b0eba0973602e03b83c2351b33e727a1c54eb
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jun 19 21:41:48 2026 +0200

    [backport camel-4.18.x] CAMEL-23805: HTTP endpoint summary not logged when 
supervised route controller is enabled (#24145)
    
    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() {

Reply via email to