[
https://issues.apache.org/jira/browse/CAMEL-13574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847528#comment-16847528
]
Claus Ibsen commented on CAMEL-13574:
-------------------------------------
See the docs, there are options to control headers. So go try this out first
https://github.com/apache/camel/blob/master/components/camel-csv/src/main/docs/csv-dataformat.adoc
> marshalling data to csv with header
> -----------------------------------
>
> Key: CAMEL-13574
> URL: https://issues.apache.org/jira/browse/CAMEL-13574
> Project: Camel
> Issue Type: Wish
> Components: camel-csv
> Affects Versions: 2.21.5
> Reporter: Matteo Redaelli
> Priority: Minor
>
> I would like to export some database tables to csv files with the header
> using database column names.
>
> But using camel-jdbc and camel-csv I haven't found a solution...
>
> It seems you have to manually concatenate the he header and the rows ...
> It would be nice to have an option to switch header on/off when marshalling
> to csv ...
>
> See
> [https://stackoverflow.com/questions/31865928/output-csv-column-headers-in-apache-camel]
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)