I have this simple route:
onException(Exception.class)
.to("log:com.mycompany.test?level=INFO");
from("sftp://myuser@localhost:/files/?password=mypassword&knownHostsFile=/myuser/.ssh/known_hosts&noop=true";)
.to("log:com.mycompany.test?level=INFO");
If I stop the sftp server, from("sftp:..."
unmarshal(CsvDataFormat) produces a List>,
however, it the CSV file has only one line, it produces List instead
of List>.
We don't know in advance how many lines the CSV file will have,
that could be zero, one, or more than one,
and we should expect to receive always a Li