You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/12/09 19:34:13 UTC

[jira] [Created] (CAMEL-8138) camel-jaxb - Allow jaxb to marshal non JAXBElement

Claus Ibsen created CAMEL-8138:
----------------------------------

             Summary: camel-jaxb - Allow jaxb to marshal non JAXBElement
                 Key: CAMEL-8138
                 URL: https://issues.apache.org/jira/browse/CAMEL-8138
             Project: Camel
          Issue Type: Improvement
          Components: camel-jaxb
    Affects Versions: 2.14.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.14.1, 2.15.0


For example if the content is already in XML and you use jaxb then it fails, as it requires the message body is a JAXBElement class (eg has those annotations etc.).

We should add option so you can relax this and marshal the content as-is, such as if its already in XML from a String etc. 



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