Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    from("file:inbox")
      .split().languagevtdxml("vtdxpath", "/persons/person").streaming()
        .to("activemq:queue:person")
      .end()

And in XML DSL

Code Block
xml
xml

<route>
   <from uri="file:inbox"/>
   <split streaming="true">
     <vtdxml>/persons/person</vtdxml>
     <to uri="activemq:queue:person"/>
   </split>
</route>

This will run the Splitter in streaming mode using the vtdxml language.There is a builder class org.apache.camel.component.vtdxml.VtdXmlXPathBuilder which you can use from Java code to execute xpath expressions/predicates using the vtd-xml library.

Include Page
CAMEL:Endpoint See Also
CAMEL:Endpoint See Also