Support custom line separator for SimpleFlatFileMarshaler
---------------------------------------------------------
Key: SM-1333
URL: https://issues.apache.org/activemq/browse/SM-1333
Project: ServiceMix
Issue Type: Improvement
Components: servicemix-core
Affects Versions: 3.2.1
Environment: OS-independent, was created on OSX
Reporter: Andrew Skiba
Fix For: 3.2.1
Attachments: sm-flat-file.patch
I had a need to process file with ASCII code 0x1 for column separator, and
ASCII code 0x2 for the line separator. Please notice, that usual end of line is
used in file as a regular character in the middle of a text field, and should
remain in the resulting XML. SimpleFlatFileMarshaler does not allow to change
the line separator, and it's not easy to set the column separator to be
non-printable character in Spring configuration XML. The attached patch
improves this marshaler so it's able to parse such files.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.