camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r914443 - in /websites/production/camel/content: cache/main.pageCache splitter.html
Date Mon, 30 Jun 2014 16:17:53 GMT
Author: buildbot
Date: Mon Jun 30 16:17:52 2014
New Revision: 914443

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/splitter.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/splitter.html
==============================================================================
--- websites/production/camel/content/splitter.html (original)
+++ websites/production/camel/content/splitter.html Mon Jun 30 16:17:52 2014
@@ -243,7 +243,7 @@ from("direct:streaming")
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
   ...
     &lt;xtokenize mode=&quot;i&quot;&gt;//ns1:order&lt;/xtokenize&gt;
     ...]]></script>
-</div></div><p>Note that this StAX based tokenizer's uses StAX Location
API and requires a StAX Reader implementation (e.g., wookdstox) that correctly returns the
beginning of each evenat each event.</p><h4 id="Splitter-SplittingfilesbygroupingNlinestogether">Splitting
files by grouping N lines together</h4><p><strong>Available as of Camel
2.10</strong></p><p>The <a shape="rect" href="tokenizer.html">Tokenizer</a>
language has a new option <code>group</code> that allows you to group N parts
together, for example to split big files into chunks of 1000 lines.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Note that this StAX based tokenizer's uses StAX Location
API and requires a StAX Reader implementation (e.g., wookdstox) that correctly returns the
offset position pointing at the beginning of each event.</p><h4 id="Splitter-SplittingfilesbygroupingNlinestogether">Splitting
files by grouping N lines together</h4><p><strong>Available as of Camel
2.10</strong></p><p>The <a shape="rect" href="tokenizer.html">Tokenizer</a>
language has a new option <code>group</code> that allows you to group N parts
together, for example to split big files into chunks of 1000 lines.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 from(&quot;file:inbox&quot;)
     .split().tokenize(&quot;\n&quot;, 1000).streaming()
        .to(&quot;activemq:queue:order&quot;);



Mime
View raw message