[
https://issues.apache.org/jira/browse/CAMEL-16736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Genereux updated CAMEL-16736:
-------------------------------------
Description: During the parsing of the CSV and {{setHeader}} is set to
{{new String[0]{}}}, the headers are collected and beautifully validated.
These headers are then used in Map output but discarded on List output. It
would be nice to preserve that knowledge downstream in the Message header.
(was: During the parsing of the CSV and `setHeader` is set to `new
String[0]{}`, the headers are collected and beautifully validated. These
headers are then used in Map output but discarded on List output. It would be
nice to preserve that knowledge downstream in the Message header. )
> Preserve CSV headers when collected during Unmarshalling to List
> ----------------------------------------------------------------
>
> Key: CAMEL-16736
> URL: https://issues.apache.org/jira/browse/CAMEL-16736
> Project: Camel
> Issue Type: Bug
> Components: camel-csv
> Affects Versions: 3.10.0
> Reporter: Michael Genereux
> Priority: Minor
>
> During the parsing of the CSV and {{setHeader}} is set to {{new
> String[0]{}}}, the headers are collected and beautifully validated. These
> headers are then used in Map output but discarded on List output. It would
> be nice to preserve that knowledge downstream in the Message header.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)