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

Willem Jiang resolved CAMEL-5365.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0

Applied patch with thanks to Aki, I also reformatted the code and cleaned up 
the spring configuration file.
                
> SOAPMessage to InputStream conversion needed for some CXF SOAPMessage 
> Provider scenarios
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5365
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5365
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.9.2
>            Reporter: Aki Yoshida
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: trunk-camel-cxf-patch.diff
>
>
> When you have a SOAPMessage Provider based CXF endpoint in your Camel route 
> and the message is forwarded to an input stream based processor or producer 
> (e.g., File), it is necessary to have a converter that converts SOAPMessage 
> into InputStream.
> It would be practical to have this conversion method included in CxfConverter.
> I am attaching a test case and a possible implementation. 
> This implementation uses CachedOutputStream to make an InputStream from a 
> SOAPMessage. There might be a better way to get an InputStream, but I don't 
> know a simple one.
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to