Hello,

I use SimpleFileMarshaler to parse files from external sources. From the
source code it appears that it parses the whole file and converts it to XML
in memory before sending to the destination endpoint. That causes out of
memory exception for large files, of course. Is there some way to parse such
files line-by-line or by chunks somehow? I did not find the way to do this
without changing too many components (FilePollerEndpoint, and marshaler, and
probably the destination, too). I cannot believe nobody had the same
problem, so what is the recommended technique?

Thank you,

Andrew.

Reply via email to