I have a service and it has a private blocking queue variable On activate it registers an eventhandler that writes to the queue on an event. It also starts a thread that watches the blocking queue.
My problem is that it is getting destroyed because nothing else depends on the service. Is there a way to keep the service alive so the eventhandler is not garbage collected Thanks for any help, David
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev