You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/07/18 12:18:48 UTC
svn commit: r869952 - in /websites/production/camel/content:
cache/main.pageCache stream-caching.html
Author: buildbot
Date: Thu Jul 18 10:18:48 2013
New Revision: 869952
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/stream-caching.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/stream-caching.html
==============================================================================
--- websites/production/camel/content/stream-caching.html (original)
+++ websites/production/camel/content/stream-caching.html Thu Jul 18 10:18:48 2013
@@ -288,6 +288,24 @@ context.setStreamCaching(true);
<h4><a shape="rect" name="Streamcaching-UsingStreamCachingStrategyinXML"></a>Using StreamCachingStrategy in XML</h4>
+<p>And in XML you do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+ <camelContext streamCache="true" xmlns="http://camel.apache.org/schema/blueprint">
+
+ <streamCaching id="myCacheConfig" bufferSize="16384" spoolDirectory="/tmp/cachedir" spoolThreshold="65536"/>
+
+ <route>
+ <from uri="direct:c"/>
+ <to uri="mock:c"/>
+ </route>
+
+ </camelContext>
+]]></script>
+</div></div>
+
+<p>You can also define a <bean> instead of using the <streamCaching> tag:</p>
+
<p>And in XML you do</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[