[
https://issues.apache.org/jira/browse/CAMEL-9649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175268#comment-15175268
]
ASF GitHub Bot commented on CAMEL-9649:
---------------------------------------
GitHub user basovnik opened a pull request:
https://github.com/apache/camel/pull/879
CAMEL-9649: Do not require @XmlRootElement annotation in JAXB
FallbackTypeConverter
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/basovnik/camel CAMEL-9649
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/879.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #879
----
commit 1c59370527bd9903fe4366240d830225706ecb8d
Author: Martin Basovnik <[email protected]>
Date: 2016-03-02T08:31:26Z
CAMEL-9649: Do not require @XmlRootElement annotation in JAXB
FallbackTypeConverter
----
> 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)