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&lt;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.

Reply via email to