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] [Issue Comment Deleted] (CAMEL-8136) rest-dsl - Auto binding mode should detect if JAXB unmarshal is needed to not
Date Tue, 09 Dec 2014 19:07:12 GMT

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

Mime
View raw message