you can think of wrapping your datasource which would contain the toggle logic based on your conditions and delegate the call to actual datasource.
the SQL component would get an instance of your datasource. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Updating-datasource-at-runtime-with-camel-sql-tp5783374p5783527.html Sent from the Camel - Users mailing list archive at Nabble.com.