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-8136) rest-dsl - Auto binding mode should detect if JAXB unmarshal is needed to not
Date Tue, 09 Dec 2014 19:07:13 GMT

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

Claus Ibsen commented on CAMEL-8136:
------------------------------------

To support this, then set the data format property mustBeJAXBElement to false

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

Mime
View raw message