camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9649) Do not require @XmlRootElement annotation in JAXB FallbackTypeConverter
Date Sat, 27 Feb 2016 07:38:18 GMT

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

Claus Ibsen commented on CAMEL-9649:
------------------------------------

Are you working on a contribution?

> Do not require @XmlRootElement annotation in JAXB FallbackTypeConverter
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-9649
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9649
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jaxb
>    Affects Versions: 2.17.0
>            Reporter: Martin BasovnĂ­k
>             Fix For: 2.18.0
>
>
> We should fix method {{org.apache.camel.converter.jaxb.FallbackTypeConverter#isJaxbType}}.
It can only handle beans with annotation  {{@XmlRootElement}} now. But this annotation is
not necessary. We should check if there is {{ObjectFactory.java}} class in current java package
and explore this class if there is proper method returning {{JAXBElement<T>}} with annotation
{{@XmlElementDecl}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message