[ 
https://issues.apache.org/jira/browse/CAMEL-14318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999965#comment-16999965
 ] 

Grzegorz Grzybek edited comment on CAMEL-14318 at 12/19/19 11:06 AM:
---------------------------------------------------------------------

Hmm, in camel-spring.xsd there's:
{code:xml}
  <xs:element name="proxy" type="tns:camelProxyFactoryDefinition">
    <xs:annotation>
      <xs:documentation xml:lang="en"><![CDATA[
To proxy a service call using a interface
      ]]></xs:documentation>
    </xs:annotation>
  </xs:element>
{code}

so why did you change {{@XmlRootElement(name = "proxy")}} to 
{{@XmlRootElement(name = "proxyFactoryBean")}} in 
{{org.apache.camel.blueprint.CamelProxyFactoryBean}}?


was (Author: gzres):
Hmm, in camel-spring.xsd there's:
{code:xml}
  <xs:element name="proxy" type="tns:camelProxyFactoryDefinition">
    <xs:annotation>
      <xs:documentation xml:lang="en"><![CDATA[
To proxy a service call using a interface
      ]]></xs:documentation>
    </xs:annotation>
  </xs:element>
{code}

so why did you change {{@XmlRootElement(name = "proxy")}} to 
{{@XmlRootElement(name = "proxyFactoryBean")}}?

> 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)

Reply via email to