The only solution I know is to use update-strategy="reload" in the property placeholder. So the context of your bundle will reload as soon as the real config is present.

This of course means that for a short time the context is up with invalid parameters before it is then reloaded.

Christian



On 13.10.2014 15:22, jkraushaar wrote:
Hi,

I'm also interested in this topic. We have a data source which is configured
using the OSGi Configuration Admin. The data source is used by another
bundle to install SQL Scripts during startup of other bundles using the OSGi
Extender pattern.

Unfortunately the config admin service does not update the properties of the
data source fast enough and the extender bundle then uses the wrong data
source.

Have you found any solution for this problem?

Regards
Jochen



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Mandatory-Configuration-from-configAdmin-tp4031442p4035857.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to