Interface XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    Enclosing interface:
    XsltSaxonEndpointBuilderFactory

    public static interface XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint for the XSLT Saxon component.
    • Method Detail

      • lazyStartProducer

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • entityResolver

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder entityResolver​(String entityResolver)
        To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource. The option will be converted to a <code>org.xml.sax.EntityResolver</code> type. Group: advanced
        Parameters:
        entityResolver - the value to set
        Returns:
        the dsl builder
      • errorListener

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder errorListener​(ErrorListener errorListener)
        Allows to configure to use a custom javax.xml.transform.ErrorListener. Beware when doing this then the default error listener which captures any errors or fatal errors and store information on the Exchange as properties is not in use. So only use this option for special use-cases. The option is a: <code>javax.xml.transform.ErrorListener</code> type. Group: advanced
        Parameters:
        errorListener - the value to set
        Returns:
        the dsl builder
      • errorListener

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder errorListener​(String errorListener)
        Allows to configure to use a custom javax.xml.transform.ErrorListener. Beware when doing this then the default error listener which captures any errors or fatal errors and store information on the Exchange as properties is not in use. So only use this option for special use-cases. The option will be converted to a <code>javax.xml.transform.ErrorListener</code> type. Group: advanced
        Parameters:
        errorListener - the value to set
        Returns:
        the dsl builder
      • resultHandlerFactory

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder resultHandlerFactory​(org.apache.camel.component.xslt.ResultHandlerFactory resultHandlerFactory)
        Allows you to use a custom org.apache.camel.builder.xml.ResultHandlerFactory which is capable of using custom org.apache.camel.builder.xml.ResultHandler types. The option is a: <code>org.apache.camel.component.xslt.ResultHandlerFactory</code> type. Group: advanced
        Parameters:
        resultHandlerFactory - the value to set
        Returns:
        the dsl builder
      • resultHandlerFactory

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder resultHandlerFactory​(String resultHandlerFactory)
        Allows you to use a custom org.apache.camel.builder.xml.ResultHandlerFactory which is capable of using custom org.apache.camel.builder.xml.ResultHandler types. The option will be converted to a <code>org.apache.camel.component.xslt.ResultHandlerFactory</code> type. Group: advanced
        Parameters:
        resultHandlerFactory - the value to set
        Returns:
        the dsl builder
      • saxonConfiguration

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder saxonConfiguration​(net.sf.saxon.Configuration saxonConfiguration)
        To use a custom Saxon configuration. The option is a: <code>net.sf.saxon.Configuration</code> type. Group: advanced
        Parameters:
        saxonConfiguration - the value to set
        Returns:
        the dsl builder
      • saxonConfiguration

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder saxonConfiguration​(String saxonConfiguration)
        To use a custom Saxon configuration. The option will be converted to a <code>net.sf.saxon.Configuration</code> type. Group: advanced
        Parameters:
        saxonConfiguration - the value to set
        Returns:
        the dsl builder
      • saxonExtensionFunctions

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder saxonExtensionFunctions​(String saxonExtensionFunctions)
        Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition. You would need to add camel-saxon to the classpath. The function is looked up in the registry, where you can comma to separate multiple values to lookup. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        saxonExtensionFunctions - the value to set
        Returns:
        the dsl builder
      • transformerFactory

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder transformerFactory​(String transformerFactory)
        To use a custom XSLT transformer factory. The option will be converted to a <code>javax.xml.transform.TransformerFactory</code> type. Group: advanced
        Parameters:
        transformerFactory - the value to set
        Returns:
        the dsl builder
      • transformerFactoryClass

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder transformerFactoryClass​(String transformerFactoryClass)
        To use a custom XSLT transformer factory, specified as a FQN class name. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        transformerFactoryClass - the value to set
        Returns:
        the dsl builder
      • transformerFactoryConfigurationStrategy

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder transformerFactoryConfigurationStrategy​(org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy transformerFactoryConfigurationStrategy)
        A configuration strategy to apply on freshly created instances of TransformerFactory. The option is a: <code>org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy</code> type. Group: advanced
        Parameters:
        transformerFactoryConfigurationStrategy - the value to set
        Returns:
        the dsl builder
      • transformerFactoryConfigurationStrategy

        default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder transformerFactoryConfigurationStrategy​(String transformerFactoryConfigurationStrategy)
        A configuration strategy to apply on freshly created instances of TransformerFactory. The option will be converted to a <code>org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy</code> type. Group: advanced
        Parameters:
        transformerFactoryConfigurationStrategy - the value to set
        Returns:
        the dsl builder