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

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


The following commit(s) were added to refs/heads/main by this push:
     new 44614fbe08a Regen
44614fbe08a is described below

commit 44614fbe08a350920b09b62607734a7fb36c4e8e
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Feb 24 08:59:56 2024 +0100

    Regen
---
 .../apache/camel/impl/engine/InternalRouteStartupManager.java    | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/InternalRouteStartupManager.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/InternalRouteStartupManager.java
index d6da72b40a4..496c0f1281a 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/InternalRouteStartupManager.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/InternalRouteStartupManager.java
@@ -77,7 +77,8 @@ final class InternalRouteStartupManager {
         camelContext.setStartingRoutes(true);
         try {
             for (RouteService routeService : routeServices.values()) {
-                StartupStep step = 
camelContext.getCamelContextExtension().getStartupStepRecorder().beginStep(Route.class,
 routeService.getId(),
+                StartupStep step = 
camelContext.getCamelContextExtension().getStartupStepRecorder().beginStep(Route.class,
+                        routeService.getId(),
                         "Init Route");
                 try {
                     LOG.debug("Initializing route id: {}", 
routeService.getId());
@@ -298,7 +299,8 @@ final class InternalRouteStartupManager {
             // will then be prepared in time before we start inputs which will
             // consume messages to be routed
             RouteService routeService = entry.getValue().getRouteService();
-            StartupStep step = 
camelContext.getCamelContextExtension().getStartupStepRecorder().beginStep(Route.class,
 routeService.getId(),
+            StartupStep step = 
camelContext.getCamelContextExtension().getStartupStepRecorder().beginStep(Route.class,
+                    routeService.getId(),
                     "Warump Route");
             try {
                 LOG.debug("Warming up route id: {} having autoStartup={}", 
routeService.getId(), autoStartup);
@@ -350,7 +352,8 @@ final class InternalRouteStartupManager {
                 continue;
             }
 
-            StartupStep step = 
camelContext.getCamelContextExtension().getStartupStepRecorder().beginStep(Route.class,
 route.getRouteId(),
+            StartupStep step = 
camelContext.getCamelContextExtension().getStartupStepRecorder().beginStep(Route.class,
+                    route.getRouteId(),
                     "Start Route");
 
             // do some preparation before starting the consumer on the route

Reply via email to