Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.2, 3.3
-
None
-
Patch Available
-
Unit Test Broken
Description
unlike DefaultFileMarshaler, SimpleFlatFileMarshaler creates the whole resulting XML in memory. This causes out of memory exception. See the test case and the fix in the attachments.
The idea is to wrap the input stream, so the conversion is done line-by-line when (and if) the normalized message content is read. Attention is payed to keep backward compatibility so protected members behave the same.