[ 
https://issues.apache.org/jira/browse/CAMEL-9728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang updated CAMEL-9728:
--------------------------------
    Description: In most case when camel-cxf endpoint use RAW|MESSAGE 
DataFormat, DefaultCxfBinding.getContentFromCxf just return InputStream 
already, however in some cases such as use cxf jms transport with byte[] jms 
type, as cxf message content stored in a StringReader,  this make 
DefaultCxfBinding.getContentFromCxf  return NULL  (was: In most case when 
camel-cxf endpoint use RAW|MESSAGE DataFormat, 
DefaultCxfBinding.getContentFromCxf just return InputStream already, however in 
some cases such as use cxf jms transport with byte[] jms type, it return a 
StringReader,  this make it hard to cooperate with other camel endpoint like 
the schema validation endpoint.)

> change Reader to InputStream if the camel-cxf endpoint use RAW|MESSAGE 
> DataFormat
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-9728
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9728
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>
> In most case when camel-cxf endpoint use RAW|MESSAGE DataFormat, 
> DefaultCxfBinding.getContentFromCxf just return InputStream already, however 
> in some cases such as use cxf jms transport with byte[] jms type, as cxf 
> message content stored in a StringReader,  this make 
> DefaultCxfBinding.getContentFromCxf  return NULL



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to