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

Willem Jiang commented on CAMEL-1413:
-------------------------------------

Yes, I think we could get some configuration (such size, temp directory) in 
camel context for it.



> Cache the big message into the file instead of using memory
> -----------------------------------------------------------
>
>                 Key: CAMEL-1413
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1413
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> If we always caching the Stream message in the memory, we will get an 
> OutOfMemoryError  if we are caching the big size streams.
> In CXF , we will cache the big stream into a file instead of using the memory 
> if the stream is big than 4K to get around this kind of issue.
> I think we need to implement a same stream caching in Camel now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to