コード例 #1
0
  /** Starts the filter and the attached routes. */
  @Override
  public synchronized void start() throws Exception {
    if (isStopped()) {
      super.start();

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

      if (getDefaultRoute() != null) {
        getDefaultRoute().start();
      }
    }
  }