You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/07/29 11:10:06 UTC
[camel-karaf] branch master updated: CAMEL-15348 fix method
name/type mismatch when creating a CxfEndpoint bean from
EndpointDefinitionParser
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
The following commit(s) were added to refs/heads/master by this push:
new bdea76b CAMEL-15348 fix method name/type mismatch when creating a CxfEndpoint bean from EndpointDefinitionParser
bdea76b is described below
commit bdea76b4fa8a9d502e1a4973c043d9abe2375172
Author: Rastislav Papp <ra...@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);