Chistian, yes the datasource is configured in the camel context, when the
dataSource is hard coded it works :

from("direct:create")
.to("sql:insert into customer(firstname, lastname) values(:#firstName,   
#lastName)?dataSource=#myDynamicSource"));

Arnaud



--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamic-DataSource-tp5771402p5771487.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to