can you try removing the datasource as a parameter to the sql component and instead set the data source as and check
// required for the sql component getContext().getComponent("sql", SqlComponent.class).setDataSource(db); Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-sql-SQL-IN-Query-issue-2-17-1-tp5783264p5783298.html Sent from the Camel - Users mailing list archive at Nabble.com.