@Override
public Processor createProcessor(RouteContext routeContext) throws Exception {
ObjectHelper.notEmpty(getHeaderName(), "headerName", this);
ObjectHelper.notEmpty(getUriDelimiter(), "uriDelimiter", this);
RoutingSlip routingSlip = new RoutingSlip(routeContext.getCamelContext(), getHeaderName(), getUriDelimiter());
if (getIgnoreInvalidEndpoint() != null) {
routingSlip.setIgnoreInvalidEndpoints(getIgnoreInvalidEndpoint());
}
return routingSlip;
}