if (delimiter != null) {
config.setDelimiter(delimiter.charAt(0));
}
OutputStreamWriter out = new OutputStreamWriter(outputStream, IOHelper.getCharsetName(exchange));
CSVWriter csv = new CSVWriter(config);
csv.setWriter(out);
try {
List<?> list = ExchangeHelper.convertToType(exchange, List.class, object);
if (list != null) {
for (Object child : list) {