[
https://issues.apache.org/jira/browse/CAMEL-14318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000188#comment-17000188
]
Grzegorz Grzybek commented on CAMEL-14318:
------------------------------------------
This fix is better:
{noformat}
diff --git a/components/camel-blueprint/pom.xml
b/components/camel-blueprint/pom.xml
index 674fec41f9a..d5016802caa 100644
--- a/components/camel-blueprint/pom.xml
+++ b/components/camel-blueprint/pom.xml
@@ -358,6 +358,7 @@
<fileset
dir="${basedir}/../camel-core-xml/src/main/java">
<include name="org/apache/camel/core/xml/*.java" />
<include
name="org/apache/camel/core/xml/util/**/*.java" />
+ <exclude
name="org/apache/camel/core/xml/CamelProxyFactoryDefinition.java" />
</fileset>
<fileset dir="${basedir}/../../camel-core/src/main/java">
<include name="org/apache/camel/model/**/*.java" />
{noformat}
It gives me (in camel-blueprint.xsd):
{code:xml}
<xs:element name="proxy" type="tns:camelProxyFactoryBean">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
To proxy a service call using a interface
]]></xs:documentation>
</xs:annotation>
</xs:element>
{code}
and it's consistent wrt differences between Spring and Blueprint's
CamelContextFactoryBean.
I also compared Spring's
{{org.apache.camel.core.xml.CamelProxyFactoryDefinition}} and Blueprint's
{{org.apache.camel.blueprint.CamelProxyFactoryBean}} and the latter misses
{{camelContextId}} property added with CAMEL-2328... Is this not included in
Blueprint's {{org.apache.camel.blueprint.CamelProxyFactoryBean}} on purpose? Or
just not added by mistake?
> camel-blueprint - <proxy> in XSD is anyType
> -------------------------------------------
>
> Key: CAMEL-14318
> URL: https://issues.apache.org/jira/browse/CAMEL-14318
> Project: Camel
> Issue Type: Bug
> Components: camel-blueprint
> Affects Versions: 3.0.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.0.1, 3.1.0
>
>
> The generated XSD is wrong as it refers to a non specific type. It should
> refer to the proxy factory bean
--
This message was sent by Atlassian Jira
(v8.3.4#803005)