camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sekaijin <>
Subject jdbc:osgi:services/javax.sql.DataSource/(name=nomDatasource)
Date Mon, 11 Feb 2013 13:43:30 GMT

I try to use camel-jdbc as OSGI
my datasource is defined in another bundle and is published via OSGI

I can retrieve via

but I do not know how to configure my url in my routeBuilder in java DSL
configure () {
  //the name of the datasource to use is defined in the configuration at
boot bundle
  String url = getUrlFromConfigDb(); returns jdbc:nomDatasource at the
moment but it does not work
  from (...)
  . to (url)
Thank you for your help

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message