You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2008/05/03 16:52:43 UTC

[jira] Resolved: (SM-1333) Support custom line separator for SimpleFlatFileMarshaler

     [ https://issues.apache.org/activemq/browse/SM-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Snyder resolved SM-1333.
------------------------------

    Fix Version/s: 3.2.2
                   3.3
                       (was: 3.2.1)
       Resolution: Fixed

Patch committed to 3.2 branch via [revision 653086|http://svn.apache.org/viewvc?view=rev&revision=653086]. 

Patch committed to trunk (3.3) via [revision 653087|http://svn.apache.org/viewvc?view=rev&revision=653087]. 

Thanks for the contribution! 

> 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
>            Assignee: Bruce Snyder
>             Fix For: 3.2.2, 3.3
>
>         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.