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

commit 62736ccbc3fab3647db1106b0a617bb0b4c76ef2
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Apr 25 11:50:43 2019 +0200

    CAMEL-13449: camel3 - Move bean component out of camel-core
---
 components/camel-spring/pom.xml                                      | 5 -----
 .../main/java/org/apache/camel/impl/CamelPostProcessorHelper.java    | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/components/camel-spring/pom.xml b/components/camel-spring/pom.xml
index bd88194..2a873b7 100644
--- a/components/camel-spring/pom.xml
+++ b/components/camel-spring/pom.xml
@@ -99,11 +99,6 @@
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
-            <artifactId>camel-dataset</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
             <artifactId>camel-management-impl</artifactId>
             <scope>test</scope>
         </dependency>
diff --git 
a/core/camel-core/src/main/java/org/apache/camel/impl/CamelPostProcessorHelper.java
 
b/core/camel-core/src/main/java/org/apache/camel/impl/CamelPostProcessorHelper.java
index 130854f..f5683dc 100644
--- 
a/core/camel-core/src/main/java/org/apache/camel/impl/CamelPostProcessorHelper.java
+++ 
b/core/camel-core/src/main/java/org/apache/camel/impl/CamelPostProcessorHelper.java
@@ -251,7 +251,7 @@ public class CamelPostProcessorHelper implements 
CamelContextAware {
                     // lets create a proxy
                     try {
                         // use proxy service
-                        BeanProxyFactory factory = 
camelContext.getBeanProxyFactory();
+                        BeanProxyFactory factory = 
endpoint.getCamelContext().getBeanProxyFactory();
                         if (factory == null) {
                             throw new IllegalArgumentException("Cannot find 
BeanProxyFactory. Make sure camel-bean is on the classpath.");
                         }

Reply via email to