GitHub user ccancellieri opened a pull request: https://github.com/apache/camel/pull/158
fix CAMEL-7450: CsvDataFormat unable to setup header when useMaps=true https://issues.apache.org/jira/browse/CAMEL-7450 Hi all, seems that it is impossible to setup the header of a csv when using a map. It is always used the first line of the CSV file. Using this configuration in conjunction with my patch I'm currently able to do so (also having the skipFirstLine flag working with useMaps="true") Configuration: https://github.com/ccancellieri/camel_poc/blob/master/src/main/resources/META-INF/spring/camel-context.xml Is this acceptable for you? You can merge this pull request into a Git repository by running: $ git pull https://github.com/ccancellieri/camel CAMEL-7450-master-CsvDataFormat-useMap Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/158.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #158 ---- commit f31d52b97e79fa4bb9a688bddac5e63e4813719a Author: carlo <ccancelli...@hotmail.com> Date: 2014-05-20T16:30:32Z fix CAMEL-7450: CsvDataFormat unable to setup header when useMaps=true ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---