Is it possible programmatically to change the dataSourceRef of Camel SQL reference binding? Preferably from the Bean component.
For example, to change SQL query one could set the header property "CamelSqlQuery" using reference invoker.. Is there anything similar for changing data source?
I don't think it's possible. The SqlProducer in camel-sql never updates dataSourceRef in process() on a JdbcTemplate