I would convert the CSV file into a List<Map<String,String>>, each row being a Map<String,String>, the first String being the column header name. Unfortunately Camel CSV unmarshals to List<List<String>> and Camel Bindy looks too strict for your case (unmarshalls to List<JavaBean>). So I would code my own data format to do the conversion CSV --> List<Map<String,String>> using for example http://supercsv.sourceforge.net/apidocs/org/supercsv/io/CsvMapReader.html
I always found strange that Camel CSV marshals from List<Map<String,String>> but unmarshals to List<List<String>> -- View this message in context: http://camel.465427.n5.nabble.com/CSV-files-processing-tp5735470p5735493.html Sent from the Camel - Users mailing list archive at Nabble.com.