You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2019/05/17 14:23:32 UTC
[camel] 01/03: [CAMEL-13511] Use AbstractCamelContext instead of
AbstractModelCamelContext
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6ca9d79ee8da5d7e73c85647cf83c6ac60ff43fd
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue May 14 10:51:30 2019 +0200
[CAMEL-13511] Use AbstractCamelContext instead of AbstractModelCamelContext
---
core/camel-core/src/main/java/org/apache/camel/impl/DefaultModel.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/camel-core/src/main/java/org/apache/camel/impl/DefaultModel.java b/core/camel-core/src/main/java/org/apache/camel/impl/DefaultModel.java
index ceee483..7b506d5 100644
--- a/core/camel-core/src/main/java/org/apache/camel/impl/DefaultModel.java
+++ b/core/camel-core/src/main/java/org/apache/camel/impl/DefaultModel.java
@@ -29,6 +29,7 @@ import java.util.concurrent.ConcurrentHashMap;
import org.apache.camel.CamelContext;
import org.apache.camel.FailedToStartRouteException;
import org.apache.camel.Route;
+import org.apache.camel.impl.engine.AbstractCamelContext;
import org.apache.camel.model.DataFormatDefinition;
import org.apache.camel.model.HystrixConfigurationDefinition;
import org.apache.camel.model.Model;
@@ -287,7 +288,7 @@ public class DefaultModel implements Model {
// indicate we are staring the route using this thread so
// we are able to query this if needed
- AbstractModelCamelContext mcc = camelContext.adapt(AbstractModelCamelContext.class);
+ AbstractCamelContext mcc = camelContext.adapt(AbstractCamelContext.class);
mcc.setStartingRoutes(true);
try {