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 2020/07/30 08:34:14 UTC
[camel] 02/02: 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 7a87e24723831d0152e64083b5673ffdec888b98
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jul 30 10:32:41 2020 +0200
Polished
---
.../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java | 3 ++-
.../src/main/java/org/apache/camel/reifier/RouteReifier.java | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index 557e0cf..70a2f70 100644
--- a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++ b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -2576,6 +2576,7 @@ public abstract class AbstractCamelContext extends BaseService
ServiceHelper.initService(notifier);
}
+ // the event notifiers must be initialized before we can emit this event
EventHelper.notifyCamelContextInitializing(this);
// re-create endpoint registry as the cache size limit may be set after the constructor of this instance was called.
@@ -2606,7 +2607,7 @@ public abstract class AbstractCamelContext extends BaseService
// start components
ServiceHelper.initService(components.values());
- // create routes from route templates if we have any sources
+ // create route definitions from route templates if we have any sources
for (RouteTemplateParameterSource source : getRegistry().findByType(RouteTemplateParameterSource.class)) {
for (String routeId : source.routeIds()) {
// do a defensive copy of the parameters
diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/RouteReifier.java b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/RouteReifier.java
index e966f40..cf56eb3 100644
--- a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/RouteReifier.java
+++ b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/RouteReifier.java
@@ -512,7 +512,6 @@ public class RouteReifier extends ProcessorReifier<RouteDefinition> {
List<PropertyDefinition> properties = definition.getRouteProperties();
if (properties != null) {
-
for (PropertyDefinition prop : properties) {
try {
final String key = parseString(prop.getKey());