Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1333

Support custom line separator for SimpleFlatFileMarshaler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2, 3.3
    • servicemix-core
    • None
    • OS-independent, was created on OSX

    • Patch Available

    Description

      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.

      Attachments

        Activity

          People

            bsnyder Bruce Snyder
            skibaa Andrew Skiba
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: