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 20:07:12 UTC

[jira] [Issue Comment Deleted] (CAMEL-8136) rest-dsl - Auto binding mode should detect if JAXB unmarshal is needed to not

     [ https://issues.apache.org/jira/browse/CAMEL-8136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-8136:
-------------------------------
    Comment: was deleted

(was: Okay got this now, if the binding mode is auto and there is no outType configured, then we relax jaxb to allow that the message body may not be a JAXB element, but can be xml out of the box.)

> rest-dsl - Auto binding mode should detect if JAXB unmarshal is needed to not
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-8136
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8136
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.14.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.14.1, 2.15.0
>
>
> You may want to marshal to a type as IN, but for OUT you want to use the message body as-is, as its already in XML format, eg a String or something.
> Currently because JAXB was used for IN, rest-dsl wants to use JAXB for OUT as well.
> See nabble
> http://camel.465427.n5.nabble.com/Rest-DSL-IN-OUT-types-tp5760404.html



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