Re: large xml files using groovy

2018-12-05 Thread Claus Ibsen
Hi How is reading an XML file via Java code related to a SOAP endpoint? Yeah you can read xml files in a streaming mode via a reader. Mind that it depends what you need to do with the XML data whether you need to read the entire XML into memory and build a DOM tree etc. 20mb is not so large anymo

large xml files using groovy

2018-11-26 Thread Raymond de Hond
Hi, I created a camel route using a soap endpoint (contract first) using format PAYLOAD. My question is, what's the best approach to read large xml messages (up to 20mb) using groovy xmlSlurper? This slurper accepts a java.io.Reader as input. Is it possible to do something like: def xml = exch