Hello, After debugging Apache Camel, I found out that it uses a SynchronousBundleListener to be notified when a Camel bundle reaches the "Active" state. However, when I define a breakpoint in the "activateBundle" method of class "Felix.java", I see that the bundle state is already "Active", although the SynchronousBundleListener has not been called yet. Indeed, the "setBundleStateAndNotify" method is called before the "fireBundleEvent". My understanding is that other bundles which rely on the initialization called in the SynchronousBundleListener are allowed to start, although the dependent bundle is not fully started. This can raise a race condition between both components. Did I overlook anything ? Can anyone explain whether the Felix code can be subject to such a race condition ? Thanks. metatech
Reference : http://camel.465427.n5.nabble.com/Camel-under-OSGi-without-Spring-et-al-td4507473i20.html#a5038265 -- View this message in context: http://old.nabble.com/SynchronousBundleListener-really-synchronous-during-bundle-start---tp32958551p32958551.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

