Here is an example method to aggregate: @SuppressWarnings("unchecked") public void aggregateGroupMessages(Exchange groupedExchange) { List<Exchange> grouped = groupedExchange.getProperty(Exchange.GROUPED_EXCHANGE, List.class); for (Exchange exchange : grouped) { //process exchanges here } groupedExchange.getOut.setBody(myAggregatedResult);
} -- View this message in context: http://camel.465427.n5.nabble.com/way-to-convert-multiple-csv-files-to-single-xml-file-tp5717048p5717100.html Sent from the Camel - Users mailing list archive at Nabble.com.