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 AF728181B1 for ; Fri, 19 Feb 2016 09:00:26 +0000 (UTC) Received: (qmail 38196 invoked by uid 500); 19 Feb 2016 09:00:26 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 38143 invoked by uid 500); 19 Feb 2016 09:00:26 -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 38107 invoked by uid 99); 19 Feb 2016 09:00:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 09:00:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 69C202C1F69 for ; Fri, 19 Feb 2016 09:00:26 +0000 (UTC) Date: Fri, 19 Feb 2016 09:00:26 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-9621) camel-restlet - The producer should support message body as bytes or streams 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-9621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-9621. -------------------------------- Resolution: Fixed Fix Version/s: 2.16.3 This applies when you set a content type to json/text etc as it fallback to be form based which is string representation. > camel-restlet - The producer should support message body as bytes or streams > ---------------------------------------------------------------------------- > > Key: CAMEL-9621 > URL: https://issues.apache.org/jira/browse/CAMEL-9621 > Project: Camel > Issue Type: Improvement > Components: camel-restlet > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.16.3, 2.17.0 > > > It uses string as the message body. We should try to detect the current body type and use byte array / input stream etc that restlet has a representation that fits, and then use string as fallback. -- This message was sent by Atlassian JIRA (v6.3.4#6332)