Hi all, In ESB's "Source view" when re-initializing synapse environment:
synEnvSvcRegistration.setProperties(new Properties()) calls to fire service modified event [1] (synEnvSvcRegistration is instance of org.osgi.framework.ServiceRegistration) to update reference to synapse environment with newly created configuration. OSGI frame work calls bind methods of referenced components when synEnvSvcRegistration.setProperties invoked and this is working fine with ESB 4.0.x releases but does not work in current trunk. Because of this, once configuration is updated from source view, actions performed in service management page does not reflect in synapse configuration (because of non-updated synapse configuration reference from ProxyObserver). Seems component wiring is correct because if synEnvSvcRegistration.unregister() invoked from same code, unbind methods of referencing components invoked. So I guess this is a bug with equinox framework. [1] http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceRegistration.html#setProperties%28java.util.Dictionary%29 -- Thanks, Miyuru _______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
