Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13574

marshalling data to csv with header

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.21.5
    • None
    • camel-csv
    • None
    • Unknown

    Description

      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

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            matteoredaelli Matteo Redaelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: