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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default XsltSaxonEndpointBuilderFactory.XsltSaxonEndpointBuilder
basic()
default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
entityResolver(String entityResolver)
To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
entityResolver(EntityResolver entityResolver)
To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
errorListener(String errorListener)
Allows to configure to use a custom javax.xml.transform.ErrorListener.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
errorListener(ErrorListener errorListener)
Allows to configure to use a custom javax.xml.transform.ErrorListener.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).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.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.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
saxonConfiguration(String saxonConfiguration)
To use a custom Saxon configuration.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
saxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
To use a custom Saxon configuration.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
saxonExtensionFunctions(String saxonExtensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
secureProcessing(boolean secureProcessing)
Feature for XML secure processing (see javax.xml.XMLConstants).default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
secureProcessing(String secureProcessing)
Feature for XML secure processing (see javax.xml.XMLConstants).default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
transformerFactory(String transformerFactory)
To use a custom XSLT transformer factory.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
transformerFactory(TransformerFactory transformerFactory)
To use a custom XSLT transformer factory.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
transformerFactoryClass(String transformerFactoryClass)
To use a custom XSLT transformer factory, specified as a FQN class name.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
transformerFactoryConfigurationStrategy(String transformerFactoryConfigurationStrategy)
A configuration strategy to apply on freshly created instances of TransformerFactory.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
transformerFactoryConfigurationStrategy(org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy transformerFactoryConfigurationStrategy)
A configuration strategy to apply on freshly created instances of TransformerFactory.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
uriResolver(String uriResolver)
To use a custom javax.xml.transform.URIResolver.default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder
uriResolver(URIResolver uriResolver)
To use a custom javax.xml.transform.URIResolver.
-
-
-
Method Detail
-
basic
default XsltSaxonEndpointBuilderFactory.XsltSaxonEndpointBuilder basic()
-
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(EntityResolver entityResolver)
To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource. The option is a: <code>org.xml.sax.EntityResolver</code> type. Group: advanced- Parameters:
entityResolver
- 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
-
secureProcessing
default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder secureProcessing(boolean secureProcessing)
Feature for XML secure processing (see javax.xml.XMLConstants). This is enabled by default. However, when using Saxon Professional you may need to turn this off to allow Saxon to be able to use Java extension functions. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
secureProcessing
- the value to set- Returns:
- the dsl builder
-
secureProcessing
default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder secureProcessing(String secureProcessing)
Feature for XML secure processing (see javax.xml.XMLConstants). This is enabled by default. However, when using Saxon Professional you may need to turn this off to allow Saxon to be able to use Java extension functions. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Parameters:
secureProcessing
- the value to set- Returns:
- the dsl builder
-
transformerFactory
default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder transformerFactory(TransformerFactory transformerFactory)
To use a custom XSLT transformer factory. The option is a: <code>javax.xml.transform.TransformerFactory</code> type. Group: advanced- Parameters:
transformerFactory
- 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
-
uriResolver
default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder uriResolver(URIResolver uriResolver)
To use a custom javax.xml.transform.URIResolver. The option is a: <code>javax.xml.transform.URIResolver</code> type. Group: advanced- Parameters:
uriResolver
- the value to set- Returns:
- the dsl builder
-
uriResolver
default XsltSaxonEndpointBuilderFactory.AdvancedXsltSaxonEndpointBuilder uriResolver(String uriResolver)
To use a custom javax.xml.transform.URIResolver. The option will be converted to a <code>javax.xml.transform.URIResolver</code> type. Group: advanced- Parameters:
uriResolver
- the value to set- Returns:
- the dsl builder
-
-