Interface XsltUriResolverFactory

All Known Implementing Classes:
DefaultXsltUriResolverFactory

public interface XsltUriResolverFactory
Can be used to create custom URI resolver for the XSLT endpoint. This interface is useful, if the custom URI resolver depends on the resource URI specified in the XSLT endpoint. The resource URI of the endpoint can be even dynamic, like in the following example:
 <camel:recipientList>
      <camel:simple>xslt:${header.XSLT_FILE}?uriResolverFactory=#uriResolverFactory</camel:simple>
 </camel:recipientList>
 
The dynamic resource URI given in ${header.XSLT_FILE} will be past as resourceUri parameter in the method createUriResolver(CamelContext, String)
  • Method Summary

    Modifier and Type
    Method
    Description
    createUriResolver(org.apache.camel.CamelContext camelContext, String resourceUri)
    Method is called during the creation of a xslt endpoint.
  • Method Details

    • createUriResolver

      URIResolver createUriResolver(org.apache.camel.CamelContext camelContext, String resourceUri)
      Method is called during the creation of a xslt endpoint.
      Parameters:
      camelContext - camel context
      resourceUri - resource URI specified in the endpoint URI
      Returns:
      URI resolver