Author: buildbot
Date: Fri May 10 13:18:41 2013
New Revision: 861530

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/stax.html
==============================================================================
--- websites/production/camel/content/stax.html (original)
+++ websites/production/camel/content/stax.html Fri May 10 13:18:41 2013
@@ -223,7 +223,14 @@ from(<span class="code-quote">"file:targ
 </pre>
 </div></div>
 
-<p>Where <tt>stax</tt> is a static method on 
<tt>org.apache.camel.component.stax.StAXBuilder</tt> which you can static 
import in the Java code.</p>
+<p>Where <tt>stax</tt> is a static method on 
<tt>org.apache.camel.component.stax.StAXBuilder</tt> which you can static 
import in the Java code. The stax builder is by default namespace aware on the 
XMLReader it uses. From <b>Camel 2.11.1</b> onwards you can turn this off by 
setting the boolean parameter to false, as shown below:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+from(<span class="code-quote">"file:target/in"</span>)
+    .split(stax(Record.class, <span 
class="code-keyword">false</span>)).streaming()
+        .to(<span class="code-quote">"mock:records"</span>);
+</pre>
+</div></div>
 
 <h4><a shape="rect" name="StAX-ThepreviousexamplewithXMLDSL"></a>The previous 
example with XML DSL</h4>
 <p>The example above could be implemented as follows in XML DSL</p>


Reply via email to