You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/06/21 11:44:21 UTC

[jira] [Commented] (CAMEL-6475) camel-cxf - Do not force using CachedOutputStream in converters

    [ https://issues.apache.org/jira/browse/CAMEL-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690155#comment-13690155 ] 

Willem Jiang commented on CAMEL-6475:
-------------------------------------

Hi Claus, 
camel-http is using the StreamCaching to copy the response message for further access HttpProducer.doExtractResponseBodyAsStream
I think it could be easy to avoid the streamCaching by checking the setting of Exchange in the CachedOutputStream construction method.

BTW, it could consume lots of memory if we don't using the file to cache the stream.
                
> camel-cxf - Do not force using CachedOutputStream in converters
> ---------------------------------------------------------------
>
>                 Key: CAMEL-6475
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6475
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.12.0
>
>
> This causes problems as then people cant turn off stream caching, as camel-cxf forces this down on them anyway.
> org.apache.camel.component.cxf.converter.CxfConverter#soapMessageToInputStream

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira