// not in endpoint then use component specific resolver
resolver = getUriResolver();
}
if (resolver == null) {
// fallback to use a Camel specific resolver
resolver = new XsltUriResolver(getCamelContext().getClassResolver(), remaining);
}
// set resolver before input stream as resolver is used when loading the input stream
xslt.setUriResolver(resolver);
return new XsltEndpoint(uri, this, xslt, resourceUri, cache);