Re: Dependency Manager - Service does not stop

2018-07-05 Thread Pierre De Rop
Hello Florian, I have tried to reproduce the problem, but it seems to work well; I have committed a sample code which reflects the usecase you are describing here [1]. Can you please clone it and give it a try (the sample code is built using bndtools 3.4.0). To build the sample: git clone https:

EventAdmin-1.4.6 - Is it safe to dynamically reduce the pool size?

2018-07-05 Thread Erwin Hogeweg
Hi - Is it safe to reduce the threads in the pool in a running system? I monitored the behavior with JConsole while doing that and it looks like a new set of threads is created while the existing ones are retired when they complete the task. So it seems safe. I would sleep better though if if s

Dependency Manager - Service does not stop

2018-07-05 Thread Florian Pattke
Hello, I am using a FactoryConfigurationAdapterServer and I have problems to unregister the services, when I stop the bundle. Here is my activator code: public void init(BundleContext bundleContext, DependencyManager dependencyManager) throws Exception {     dependencyManager.add(