camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Holunder <>
Subject csv data format with ordered maps
Date Wed, 07 Mar 2018 11:08:56 GMT

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 public. This is not expected,
CsvDataFormat.setRecordConverter has a public setter accepting this

Any workarounds?


View raw message