return "routingSlip";
}
@Override
public Processor createProcessor(RouteContext routeContext) throws Exception {
RoutingSlip routingSlip;
if (getHeaderName() != null) {
routingSlip = new RoutingSlip(routeContext.getCamelContext(), getHeaderName(), getUriDelimiter());
} else {
Expression expression = getExpression().createExpression(routeContext);
routingSlip = new RoutingSlip(routeContext.getCamelContext(), expression, getUriDelimiter());
}
if (getIgnoreInvalidEndpoint() != null) {
routingSlip.setIgnoreInvalidEndpoints(getIgnoreInvalidEndpoint());
}
return routingSlip;
}