Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C34910552 for ; Tue, 9 Dec 2014 19:07:15 +0000 (UTC) Received: (qmail 47256 invoked by uid 500); 9 Dec 2014 19:07:13 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 47100 invoked by uid 500); 9 Dec 2014 19:07:13 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 46818 invoked by uid 99); 9 Dec 2014 19:07:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2014 19:07:13 +0000 Date: Tue, 9 Dec 2014 19:07:12 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (CAMEL-8136) rest-dsl - Auto binding mode should detect if JAXB unmarshal is needed to not MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)