@Override
  public synchronized void stop(StopContext context) {
    super.stop(context);

    if (shouldDestroy) {
      try {
        getJmsServer().getValue().destroyQueue(this.queueName);
      } catch (Exception e) {
        if (null != e.getCause()) {
          log.warn(e.getCause().getMessage());
        } else {
          log.error("Can't destroy queue", e);
        }
      }
    }
  }
 public void uninject() {
   super.getExecutorInjector().uninject();
 }
 public void inject(ExecutorService value) throws InjectionException {
   super.getExecutorInjector().inject(value);
 }