code: public boolean shutdownService(Object service, BundleContext context)
      {
          if (service instanceof BaseServiceMessageTransport) // Always
              ((BaseServiceMessageTransport)service).free();
          return super.shutdownService(service, context);
      }
docs: Stop this service.
  Override this to do all the startup.
  @param bundleService
  @param context bundle context
  @return true if successful.