Author: buildbot
Date: Wed Aug 29 16:17:43 2012
New Revision: 830476

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/vtd-xml.html

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

Modified: websites/production/camel/content/vtd-xml.html
==============================================================================
--- websites/production/camel/content/vtd-xml.html (original)
+++ websites/production/camel/content/vtd-xml.html Wed Aug 29 16:17:43 2012
@@ -89,15 +89,26 @@ This component is particular efficient f
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">
     from(<span class="code-quote">"file:inbox"</span>)
-      .split().language(<span class="code-quote">"vtdxpath"</span>, <span 
class="code-quote">"/persons/person"</span>).streaming()
+      .split().vtdxml(<span 
class="code-quote">"/persons/person"</span>).streaming()
         .to(<span class="code-quote">"activemq:queue:person"</span>)
       .end()
 </pre>
 </div></div>
 
-<p>This will run the <a shape="rect" href="splitter.html" 
title="Splitter">Splitter</a> in streaming mode using the <b>vtdxml</b> 
language.</p>
+<p>And in XML DSL</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;route&gt;</span>
+   <span class="code-tag">&lt;from uri=<span 
class="code-quote">"file:inbox"</span>/&gt;</span>
+   <span class="code-tag">&lt;split streaming=<span 
class="code-quote">"true"</span>&gt;</span>
+     <span class="code-tag">&lt;vtdxml&gt;</span>/persons/person<span 
class="code-tag">&lt;/vtdxml&gt;</span>
+     <span class="code-tag">&lt;to uri=<span 
class="code-quote">"activemq:queue:person"</span>/&gt;</span>
+   <span class="code-tag">&lt;/split&gt;</span>
+<span class="code-tag">&lt;/route&gt;</span>
+</pre>
+</div></div>
 
-<p>There is a builder class 
<tt>org.apache.camel.component.vtdxml.VtdXmlXPathBuilder</tt> which you can use 
from Java code to execute xpath expressions/predicates using the vtd-xml 
library.</p>
+<p>This will run the <a shape="rect" href="splitter.html" 
title="Splitter">Splitter</a> in streaming mode using the <b>vtdxml</b> 
language.</p>
 
 <h3><a shape="rect" name="VTD-XML-SeeAlso"></a>See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html" title="Configuring 
Camel">Configuring Camel</a></li><li><a shape="rect" href="component.html" 
title="Component">Component</a></li><li><a shape="rect" href="endpoint.html" 
title="Endpoint">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html" title="Getting Started">Getting 
Started</a></li></ul>


Reply via email to