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

CsvDataFormat unable to setup header when useMaps="true"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.0
    • Fix Version/s: 2.12.4, 2.13.2, 2.14.0
    • Component/s: camel-csv
    • Labels:
      None
    • Environment:

      Linux

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: