Thomas Diesler created CAMEL-9227:
-------------------------------------
Summary: No type converter available to convert from Bean to List
Key: CAMEL-9227
URL: https://issues.apache.org/jira/browse/CAMEL-9227
Project: Camel
Issue Type: Bug
Affects Versions: 2.16.1
Reporter: Thomas Diesler
Fix For: 2.16.1
{code}
Tests in error:
CSVIntegrationTest.testMarshalViaDozer:101 ยป CamelExecution Exception
occurred...
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
Caused by: org.apache.camel.NoTypeConversionAvailableException: No type
converter available to convert from type:
org.wildfly.camel.test.common.types.Customer to the required type:
java.util.List with value org.wildfly.camel.test.common.types.Customer@42776551
at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:185)
at
org.apache.camel.util.ExchangeHelper.convertToMandatoryType(ExchangeHelper.java:187)
at
org.apache.camel.dataformat.csv.CsvMarshaller.getRecordValues(CsvMarshaller.java:95)
at
org.apache.camel.dataformat.csv.CsvMarshaller.marshal(CsvMarshaller.java:82)
at
org.apache.camel.dataformat.csv.CsvDataFormat.marshal(CsvDataFormat.java:82)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)