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[