Author: buildbot
Date: Thu Sep 27 18:17:30 2012
New Revision: 833196

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 Sep 27 18:17:30 
2012
@@ -170,7 +170,7 @@ from(<span class="code-quote">"jbi:servi
 <p>When stream cache is enabled it will by default spool big streams to files 
instead of keeping them in memory. The default threshold is 64kb but you can 
configure it with the following properties:</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Property </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Default </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> CamelCachedOutputStreamThreshold </td><td colspan="1" 
rowspan="1" class="confluenceTd"> 64kb </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Size in bytes when the stream should be spooled to disk 
instead of keeping in memory. Use a value of 0 or negative to disable it all 
together so streams is always kept in memory regardless of their size. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
CamelCachedOutputStreamOutputDirectory </td><td colspan="1" rowspan="1" 
class="confluenceTd"> java.io.tmpdir </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Base directory where temporary files for spooled streams 
should be stored. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Property </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Default </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> CamelCachedOutputStreamBufferSize </td><td colspan="1" 
rowspan="1" class="confluenceTd"> 2kb </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Size in bytes of the buffer used in the stream. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
CamelCachedOutputStreamThreshold </td><td colspan="1" rowspan="1" 
class="confluenceTd"> 64kb </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Size in bytes when the stream should be spooled to disk 
instead of keeping in memory. Use a value of 0 or negative to disable it all 
together so streams is always kept in memory regardless of their size. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
CamelCachedOutputS
 treamOutputDirectory </td><td colspan="1" rowspan="1" class="confluenceTd"> 
java.io.tmpdir </td><td colspan="1" rowspan="1" class="confluenceTd"> Base 
directory where temporary files for spooled streams should be stored. 
</td></tr></tbody></table>
 </div>
 
 
@@ -180,6 +180,7 @@ from(<span class="code-quote">"jbi:servi
 <pre class="code-java">
 context.getProperties().put(CachedOutputStream.TEMP_DIR, <span 
class="code-quote">"/tmp/cachedir"</span>);
 context.getProperties().put(CachedOutputStream.THRESHOLD, <span 
class="code-quote">"1024"</span>);
+context.getProperties().put(CachedOutputStream.BUFFER_SIZE, <span 
class="code-quote">"4096"</span>);
 </pre>
 </div></div>
 


Reply via email to