On Tue, Feb 12, 2013 at 5:49 PM, sekaijin wrote:
> Hi,
> Yes he can retrieve the datasource in my java code via lookup
> but how to inject it in my routeBuilder?
>
>
> how to write this last ".to(...)" to use the object ds?
>
The camel jdbc will lookup the data source like you can do with the
loo
Hi,
Yes he can retrieve the datasource in my java code via lookup
but how to inject it in my routeBuilder?
how to write this last ".to(...)" to use the object ds?
thank
A+JYT
--
View this message in context:
http://camel.465427.n5.nabble.com/jdbc-osgi-services-javax-sql-DataSource-name-nomDa
On Mon, Feb 11, 2013 at 2:43 PM, sekaijin wrote:
> hello,
>
> I try to use camel-jdbc as OSGI
> my datasource is defined in another bundle and is published via OSGI
>
> I can retrieve via
> lookup("jdbc:osgi:service/javax.sql.DataSource/(name=nomDatasource)")
>
Can you get the datasource using th
hello,
I try to use camel-jdbc as OSGI
my datasource is defined in another bundle and is published via OSGI
I can retrieve via
lookup("jdbc:osgi:service/javax.sql.DataSource/(name=nomDatasource)")
but I do not know how to configure my url in my routeBuilder in java DSL
configure () {
//the nam