You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/03 12:05:59 UTC

[jira] Commented: (CAMEL-1413) Cache the big message into the file instead of using memory

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

Claus Ibsen commented on CAMEL-1413:
------------------------------------

4k isnt that on the low side? There should be some config to set the thredshold and the directory to use

> 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.