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 2019/04/25 11:11:01 UTC
[camel] branch bean updated: CAMEL-13449: camel3 - Move bean
component out of camel-core
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch bean
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/bean by this push:
new 890f25c CAMEL-13449: camel3 - Move bean component out of camel-core
890f25c is described below
commit 890f25c57e33dd2203b589f98370b91f4c747ad9
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Apr 25 13:10:45 2019 +0200
CAMEL-13449: camel3 - Move bean component out of camel-core
---
.../src/main/java/org/apache/camel/impl/AbstractCamelContext.java | 5 ++++-
.../src/main/java/org/apache/camel/reifier/BeanReifier.java | 3 +++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/core/camel-core/src/main/java/org/apache/camel/impl/AbstractCamelContext.java b/core/camel-core/src/main/java/org/apache/camel/impl/AbstractCamelContext.java
index 4b8eaa0..df36b38 100644
--- a/core/camel-core/src/main/java/org/apache/camel/impl/AbstractCamelContext.java
+++ b/core/camel-core/src/main/java/org/apache/camel/impl/AbstractCamelContext.java
@@ -3286,12 +3286,15 @@ public abstract class AbstractCamelContext extends ServiceSupport implements Mod
getComponentResolver();
getDataFormatResolver();
getManagementStrategy();
+ getFactoryFinderResolver();
getHeadersMapFactory();
+ getBeanPostProcessor();
+ getBeanProcessorFactory();
+ getBeanProxyFactory();
getClassResolver();
getNodeIdFactory();
getProcessorFactory();
getMessageHistoryFactory();
- getFactoryFinderResolver();
getDefaultFactoryFinder();
getStreamCachingStrategy();
getModelJAXBContextFactory();
diff --git a/core/camel-core/src/main/java/org/apache/camel/reifier/BeanReifier.java b/core/camel-core/src/main/java/org/apache/camel/reifier/BeanReifier.java
index ea58aac..e402853 100644
--- a/core/camel-core/src/main/java/org/apache/camel/reifier/BeanReifier.java
+++ b/core/camel-core/src/main/java/org/apache/camel/reifier/BeanReifier.java
@@ -38,6 +38,9 @@ class BeanReifier extends ProcessorReifier<BeanDefinition> {
super(BeanDefinition.class.cast(definition));
}
+ // TODO: Let this use bean expression, which also has all this logic to lookup beans and call them etc.
+ // and then facade the bean expression with a expression processor
+
@Override
public Processor createProcessor(RouteContext routeContext) throws Exception {
Object bean = definition.getBean();