コード例 #1
0
  /** Stops the filter and the attached routes. */
  @Override
  public synchronized void stop() throws Exception {
    if (isStarted()) {
      if (getDefaultRoute() != null) {
        getDefaultRoute().stop();
      }

      for (Route route : getRoutes()) {
        route.stop();
      }

      super.stop();
    }
  }