Greetings!

I'm trying to unmarshal some custom CSV using the CSV data format like this:

>  <unmarshal>
>     <csv delimiter="," recordSeparator="|" headerDisabled="true"/>
> </unmarshal>


So I would expect this:

> roses, red|violets, blue


To be split into 2 records but the apparently the recordSeparator attribute
is not being used anywhere to split the records so I end up with only one
record with 3 elements/columns being them:

> roses
> red|violets
> blue


The recordSeparator I chose, is passed through to CsvDataFormat
(org.apache.camel.dataformat.csv) but then never used within CSVParser
 (org.apache.commons.csv).

Any idea if this is a bug or if I could try something different so it works
as expected?

Camel version is 2.20.1

Many thanks,
Pedro Catalão

Reply via email to