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 2016/02/19 10:00:26 UTC
[jira] [Resolved] (CAMEL-9621) camel-restlet - The producer should
support message body as bytes or streams
[ 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)