camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: camel-cxf needed a setter for setServiceFactorty to support spring namespace parser when setting it from there as reported on user forum.
Date Wed, 16 Dec 2015 15:19:55 GMT
camel-cxf needed a setter for setServiceFactorty to support spring namespace parser when setting
it from there as reported on user forum.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/86f1de51
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/86f1de51
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/86f1de51

Branch: refs/heads/camel-2.15.x
Commit: 86f1de519927d6e65e27800a8b5860020b6da776
Parents: 6276e2e
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Dec 16 16:19:06 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Dec 16 16:19:40 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/cxf/CxfEndpoint.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/86f1de51/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
index 8b81383..59681e9 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
@@ -1244,6 +1244,11 @@ public class CxfEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
         this.serviceFactoryBean = serviceFactoryBean;
     }
 
+    public void setServiceFactory(Object serviceFactoryBean) {
+        // needed a setter with this name as the cxf namespace parser expects this name
+        this.serviceFactoryBean = serviceFactoryBean;
+    }
+
     public CxfEndpointConfigurer getCxfEndpointConfigurer() {
         return configurer;
     }


Mime
View raw message