camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Alban DEWITTE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6198) CsvConfig.setDelimiter(Char char) has no effect
Date Thu, 21 Mar 2013 21:49:15 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609537#comment-13609537
] 

Pierre-Alban DEWITTE commented on CAMEL-6198:
---------------------------------------------

OK that's sound good for me. I just lost a couple of minutes on it and i wanted to share :)
                
> CsvConfig.setDelimiter(Char char) has no effect
> -----------------------------------------------
>
>                 Key: CAMEL-6198
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6198
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.4
>         Environment: Linux
>            Reporter: Pierre-Alban DEWITTE
>            Priority: Trivial
>
> With code abode csvConfig.setDelimiter(';') has no effect
> CsvDataFormat csv = new CsvDataFormat();
> 		CSVConfig csvConfig = new CSVConfig();
> 		csvConfig.setDelimiter(';');
> 		csvConfig.setFieldHeader(true);
> 		
> 		
> 		from("file://in/?include=.*\\.csv).unmarshal(csv).process(new MyProcessor());
> When i add csv.setDelimiter(";"); everything works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message