You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/07/19 13:26:49 UTC

[jira] [Updated] (CAMEL-6476) StreamCachingStrategy - A better strategy

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

Claus Ibsen updated CAMEL-6476:
-------------------------------

    Description: 
The old stream caching has some flaws such as
- copying the existing stream into an internal buffer/type
- spool to disk by default
- a bit confusing to configure
- wrap based
- not exposed in JMX
- not easy to implement custom strategies

Working on a new strategy that supports
- reusing existing stream if it supports marks
- memory based only by default
- threshold for spooling to disk based on memory usage, and payload sizes
- use the internal camel processor to avoid wrapping *done*
- exposed in JMX with runtime stats *done*
- only enabled if explicit turned on *done*
- log at INFO level on startup if enabled and what settings is in use *done*
- configuring in the DSL with a xxxDefinition to make it stand out in the XML DSLs *done*
- configuring of spool directory supporting ENV and JVM system properties *done*




  was:
The old stream caching has some flaws such as
- copying the existing stream into an internal buffer/type
- spool to disk by default
- a bit confusing to configure
- wrap based
- not exposed in JMX
- not easy to implement custom strategies

Working on a new strategy that supports
- reusing existing stream if it supports marks
- memory based only by default
- threshold for spooling to disk based on memory usage, and payload sizes
- use the internal camel processor to avoid wrapping
- exposed in JMX with runtime stats
- only enabled if explicit turned on
- log at INFO level on startup if enabled and what settings is in use
- configuring in the DSL with a xxxDefinition to make it stand out in the XML DSLs



    
> StreamCachingStrategy - A better strategy
> -----------------------------------------
>
>                 Key: CAMEL-6476
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6476
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.12.0
>
>
> The old stream caching has some flaws such as
> - copying the existing stream into an internal buffer/type
> - spool to disk by default
> - a bit confusing to configure
> - wrap based
> - not exposed in JMX
> - not easy to implement custom strategies
> Working on a new strategy that supports
> - reusing existing stream if it supports marks
> - memory based only by default
> - threshold for spooling to disk based on memory usage, and payload sizes
> - use the internal camel processor to avoid wrapping *done*
> - exposed in JMX with runtime stats *done*
> - only enabled if explicit turned on *done*
> - log at INFO level on startup if enabled and what settings is in use *done*
> - configuring in the DSL with a xxxDefinition to make it stand out in the XML DSLs *done*
> - configuring of spool directory supporting ENV and JVM system properties *done*

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