public String toString() {
return "Intercept[" + getOutputs() + "]";
}
public void addRoutes(RouteContext routeContext, Collection<Route> routes) throws Exception {
Interceptor interceptor = new Interceptor();
routeContext.intercept(interceptor);
final Processor interceptRoute = routeContext.createProcessor(this);
interceptor.setInterceptorLogic(interceptRoute);
}