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

CsvDataFormat unable to setup header when useMaps="true"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.0
    • 2.12.4, 2.13.2, 2.14.0
    • camel-csv
    • None
    • Linux

    • Patch Available
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            njiang Willem Jiang
            ccancellieri carlo cancellieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: