Hi Lothar,

> I was hoping for some kind of dynamic route building that would allow me to
> use the jdbc or sql component.

In general dynamic endpoint specification can be achieved via
Recipient List [1] EIP. You can use singleton list to create "dynamic"
endpoint.

The problem is that both SQL [2] and JDBC [3] components require you
to specify the DataSource instance in the registry, so you need to
specify them upfront and put into registry.

BTW Why do you pass DB coordinates and credentials as the message?
This is pretty unusual, to be honest. :)

Cheers.

[1] http://camel.apache.org/recipient-list.html
[2] http://camel.apache.org/sql-component.html
[3] http://camel.apache.org/jdbc

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to