[ 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* - avoid the leak from CAMEL-6452 *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 *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* > 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* > - avoid the leak from CAMEL-6452 *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