Hi,
you have to kill the thread first.
Regards
JB
On 06/04/2015 03:39 PM, tnk wrote:
Hello,
is there a way to completely stop bundle which has endless loop running?
For example I bundle runs code inside (it is started by camel using timer)
while (true) {
System.out.println("loop");
Thread.sleep(2000);
}
How to stop such bundle without stopping all servicemix? Executing
osgi:stop <bundle_id> stops the bundle (at least in osgi:list it is diplayed
as Resolved), but while loop is still runing.
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Stopping-bundle-with-endless-loop-in-serviceMix-tp5722671.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com