Hi Yesterday we fixed camel-csv to not use a type converter to list in the marshal, but just iterate the body as-is. You are welcome to try with latest code if you can see this behavior anymore.
On Mon, Jul 27, 2015 at 8:00 PM, Fneuch <fne...@gmail.com> wrote: > Hi! > > First time here, so I hope I ask my question at the right place, if not, I'm > sorry! :) > > I try to marshall a List<List<String>> to CSV with a route like: > from("direct:ListToCsv").marshal(csvDataFormat_list).convertBodyTo(String.class).to("mock:ListToCsv"); > > In CsvMarshaller.getRecordValues, there's a "convert to Map" called there > that doesn't have the same behavior if camel Spring boot is used (maybe just > in camel spring, don't know). > > If SpringTypeConverter is enabled (wich is automatic in spring boot) the > method "convertTo" throw an ConverterNotFoundException and the route stop > there. > > Before spring-boot (or if I remove it), the conversion to map in the > CsvMarshaller return null and the conversion is executed as list and it > works. > > So, question... I think it's a bug or do I miss something with the use of > Spring for fallback type converter (I didn't use it before)? > > Thanks! > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ConverterNotFoundException-marshall-CsvDataFormat-with-Spring-boot-tp5769983.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2