Details
Description
We should avoid ugly stacktraces for osgi blueprint shutdown which we dont care about
[ Thread-1] CamelBlueprintHelper WARN Error during disposing BundleContext. This exception will be ignored. org.osgi.framework.BundleException: Error while stopping bundle at de.kalpatec.pojosr.framework.PojoSRBundle.stop(PojoSRBundle.java:176) at org.apache.camel.test.blueprint.CamelBlueprintHelper.disposeBundleContext(CamelBlueprintHelper.java:146) at org.apache.camel.test.blueprint.Main.doStop(Main.java:101) at org.apache.camel.support.ServiceSupport.stop(ServiceSupport.java:91) at org.apache.camel.main.MainSupport$HangupInterceptor.run(MainSupport.java:81) Caused by: java.lang.IllegalStateException: Service already unregistered. at de.kalpatec.pojosr.framework.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:118) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88) at org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106) at org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:166) at de.kalpatec.pojosr.framework.PojoSRBundle.stop(PojoSRBundle.java:171) ... 4 more