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 2021/01/23 11:12:22 UTC
[camel] 01/09: CAMEL-15844: Polished
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b454f0e20015ab8b26de24e0a6d8dec6c5284bf8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 22 10:02:32 2021 +0100
CAMEL-15844: Polished
---
.../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index 43068ae..3971cc5 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -2708,8 +2708,9 @@ public abstract class AbstractCamelContext extends BaseService
}
}
- // start the route definitions before the routes is started
+ // init the route definitions before the routes is started
StartupStep subStep = startupStepRecorder.beginStep(CamelContext.class, getName(), "Initializing routes");
+ // the method is called start but at this point it will only initialize (as context is starting up)
startRouteDefinitions();
startupStepRecorder.endStep(subStep);