-
Notifications
You must be signed in to change notification settings - Fork 98
Initializing ResourceFilter before publisher #179
Comments
Hello @tobias-- , |
Hi @doggy-dev, Yes, I certainly could change the way and order bundles are being installed, but maybe there could be a way (possibily a system property?!) to change the (greedy) default behaviour of the publisher to track all services. |
Sorry, I'm not familiar with this launcher. |
In general, if you have to set a specific start order for your bundles, something is wrong. If someone wants to dig into this and provide a PR, I'll give that priority over the holidays when I start looking at this project again. |
Yes, unfortunately something is wrong with the connector itself. It doesn't wait for a ResourceFilter service. It touches and initializes every service found in the osgi container. See #96 . But the discussion gets off topic here. Creating a new issue is better. |
I would like to apply a ResourceFilter as described in #96. The FAQ states that a ResourceFilter has to be registered before the publisher. When I register the ResourceFilter as a DS, the publisher is already started and the AllServicesTracker is being used. Do I really need to manually start the publisher bundle after the ResourceFilter is registered? In my current setup the publisher bundle is installed and started alongside every other bundle. Starting a single bundle manually seems very inconvenient.
Am I missing something?
The text was updated successfully, but these errors were encountered: