Hi, 

we receive large XML messages (several tens of MB. Sometimes up to 500MB). I
would like to convert these messages using the xslt transformer.
Unfortunately it seems that the result will always be a string which results
in a OutOfMemory error.

My route looks something like this

from(file:/c:/in/largefiles?filename=large.xml").to("xslt:my_large_converter.xslt").bean(MyBusinessService.class)

Within the MyBusinessService the XML file is deserialised and the content is
processed.

Is there a workaround for this? I thought about providing a file option. But
this would require to create a temporary file whenever the route is
executed. 


Thanks Ralf
-- 
View this message in context: 
http://old.nabble.com/Transforming-large-XML-files-tp28446731p28446731.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to