You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/06/19 18:09:21 UTC

(camel) branch fix/CAMEL-23805 created (now c8cbf72914c0)

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

davsclaus pushed a change to branch fix/CAMEL-23805
in repository https://gitbox.apache.org/repos/asf/camel.git


      at c8cbf72914c0 CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled

This branch includes the following new commits:

     new c8cbf72914c0 CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: CAMEL-23805: HTTP endpoint summary not logged when supervised route controller is enabled

Posted by da...@apache.org.
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 <cl...@gmail.com>
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 <no...@anthropic.com>
    Signed-off-by: Claus Ibsen <cl...@gmail.com>
---
 .../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() {