This content has been marked as final.
Show 1 reply
-
1. Re: ODE External Data Source
gertv Feb 26, 2010 8:41 AM (in response to massimilianoa)Massimiliano,
One option would be to create the datasource instance from e.g. a blueprint file and publish the instance in the OSGi service registry.
ServiceMix 4.2.0 will allow you to get a reference to that instance in your org.apache.ode.jbi.cfg file with a special kind of JNDI URL: osgi:services/javax.sql.DataSource
If you have multiple DataSource implementations in the OSGi Service Registry, you can append a filter to the URL that looks like an LDAP filter (something like (&(key=value))
Regards,
Gert
Edited by: gertv on Feb 26, 2010 2:41 PM