This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-karaf-3.4.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
The following commit(s) were added to refs/heads/camel-karaf-3.4.x by this push: new 993b78e CAMEL-15348 fix method name/type mismatch when creating a CxfEndpoint bean from EndpointDefinitionParser 993b78e is described below commit 993b78eb8cce0663155b47e048609cf9a4fbb002 Author: Rastislav Papp <rastislav.p...@csobpoj.cz> AuthorDate: Wed Jul 29 12:42:10 2020 +0200 CAMEL-15348 fix method name/type mismatch when creating a CxfEndpoint bean from EndpointDefinitionParser --- .../camel/component/cxf/blueprint/EndpointDefinitionParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-cxf-blueprint/src/main/java/org/apache/camel/component/cxf/blueprint/EndpointDefinitionParser.java b/components/camel-cxf-blueprint/src/main/java/org/apache/camel/component/cxf/blueprint/EndpointDefinitionParser.java index d288f0b..248e3c0 100644 --- a/components/camel-cxf-blueprint/src/main/java/org/apache/camel/component/cxf/blueprint/EndpointDefinitionParser.java +++ b/components/camel-cxf-blueprint/src/main/java/org/apache/camel/component/cxf/blueprint/EndpointDefinitionParser.java @@ -51,10 +51,10 @@ public class EndpointDefinitionParser extends AbstractBeanDefinitionParser { } else if (isAttribute(pre, name)) { if ("endpointName".equals(name) || "serviceName".equals(name)) { if (isPlaceHolder(val)) { - endpointConfig.addProperty(name + "String", createValue(context, val)); + endpointConfig.addProperty(name, createValue(context, val)); } else { QName q = parseQName(element, val); - endpointConfig.addProperty(name, createValue(context, q)); + endpointConfig.addProperty(name + "AsQName", createValue(context, q)); } } else if ("depends-on".equals(name)) { endpointConfig.addDependsOn(val);