Thank You It's working fine with split
@Override public void configure() throws Exception { logger.info("CSV file to Database"); from("file:input/inbox?noop=true"). unmarshal().csv().*split(body()).* to("sql:insert into player (id, name, city) values (#,#,#)?dataSourceRef=dataSource"). stop(); } -- View this message in context: http://camel.465427.n5.nabble.com/I-want-change-my-route-config-Spring-DSL-to-Java-DSL-below-code-but-I-got-sql-mismatched-exception-tp5747785p5747811.html Sent from the Camel - Users mailing list archive at Nabble.com.