Re: csv data format with ordered maps

2018-03-07 Thread Dennis Holunder
here the original order is lost. >>>>>> >>>>>> I tried to implement my own CsvRecordConverter to produce ordered map, >>>>>> but the interface is not public. This is not expected, >>>>>> CsvDataForma

Re: csv data format with ordered maps

2018-03-07 Thread Claus Ibsen
ement my own CsvRecordConverter to produce ordered map, >>>>> but the interface is not public. This is not expected, >>>>> CsvDataFormat.setRecordConverter has a public setter accepting this >>>>> interface. >>>>> >>>>> Any workarounds? >>>

Re: csv data format with ordered maps

2018-03-07 Thread Dennis Holunder
public setter accepting this >>>> interface. >>>> >>>> Any workarounds? >>>> >>>> Den >>> >>> >>> >>> -- >>> Claus Ibsen >>> - >>> http://davsclaus.com @davsclaus

Re: csv data format with ordered maps

2018-03-07 Thread Claus Ibsen
t;> >> >> -- >> Claus Ibsen >> - >> http://davsclaus.com @davsclaus >> Camel in Action 2: https://www.manning.com/ibsen2 >> >> >> >> If you reply to this email, your message will be adde

Re: csv data format with ordered maps

2018-03-07 Thread Dennis Holunder
t; > > ____________ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/csv-data-format-with-ordered-maps-tp5818212p5818215.html > To unsubscribe from Camel, click here. > NAML

Re: csv data format with ordered maps

2018-03-07 Thread Claus Ibsen
Hi Can you point to where it creates HashMap, maybe we can change that to LinkedHashMap. On Wed, Mar 7, 2018 at 12:08 PM, Dennis Holunder wrote: > Hello, > > I need a CSV record mapper which would use maps, but ordered ones, > because I need the name of the first header field. Current > implemen

csv data format with ordered maps

2018-03-07 Thread Dennis Holunder
Hello, I need a CSV record mapper which would use maps, but ordered ones, because I need the name of the first header field. Current implementation creates HashMaps, where the original order is lost. I tried to implement my own CsvRecordConverter to produce ordered map, but the interface is not p