camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburkhardt <jburkha...@gmail.com>
Subject Re: Splitting big XML files using xpath() and streaming()
Date Fri, 10 Dec 2010 19:34:37 GMT

I'd really recommend using VTD or something similar to split large XML.  Much
faster and more memory efficient.
Define a bean that does the split and returns an iterator and supply it as
the method for split.
Simple example using VTD to split XML:
http://stackoverflow.com/questions/1640472/java-how-to-split-xml-stream-into-small-xml-documents-xpath-on-streaming-xml-pa/1641152#1641152

-- 
View this message in context: http://camel.465427.n5.nabble.com/Splitting-big-XML-files-using-xpath-and-streaming-tp3300695p3300842.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message