Hi All, I have a requirement to read from csv and populate a table in database. Currently i'm able to read from the csv using camelbindy
from("file:src/data?noop=true&delay=10000") .unmarshal().bindy(BindyType.Csv, "camelinaction") I have all the correct setting for the db and the right entity bean(PurchaseOrder) Can you tell me how to redirect the output from the above endpoint to JPA component...... When i just tried adding .to("jpa:camelinaction.PurchaseOrder") Its giving type mismatch error as the bindy is returning list and jpa component is awaiting a bean. Any help will be appreciated... thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p4435750.html Sent from the Camel - Users mailing list archive at Nabble.com.