Hi all, I have written a route that executes a JPA named query and then marshall's the object into csv...
private void configureCsvExportRoute () throws Exception { from(END_POINT_JPA_ITEM_EXPORT) .marshal() .csv() .to(END_POINT_FILE_ITEM_EXPORT); } It works fine however the query picks up about 100 rows but I'm only left with 1 row in the csv. When having a look at the output in the console I can see that the csv is being overwritten for each row. How can I achieve all the rows being created in the csv? Do I have to use an aggregator? If so what would it look like. thanks -- View this message in context: http://camel.465427.n5.nabble.com/JPA-enpoint-to-CSV-enpoint-working-but-only-1-row-tp5743483.html Sent from the Camel - Users mailing list archive at Nabble.com.