Interface XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- XsltEndpointBuilderFactory
public static interface XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the XSLT component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
entityResolver
(String entityResolver) To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.entityResolver
(EntityResolver entityResolver) To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.errorListener
(String errorListener) Allows to configure to use a custom javax.xml.transform.ErrorListener.errorListener
(ErrorListener errorListener) Allows to configure to use a custom javax.xml.transform.ErrorListener.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer
(String lazyStartProducer) Whether the producer should be started lazy (on the first message).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.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.transformerFactory
(String transformerFactory) To use a custom XSLT transformer factory.transformerFactory
(TransformerFactory transformerFactory) To use a custom XSLT transformer factory.transformerFactoryClass
(String transformerFactoryClass) To use a custom XSLT transformer factory, specified as a FQN class name.transformerFactoryConfigurationStrategy
(String transformerFactoryConfigurationStrategy) A configuration strategy to apply on freshly created instances of TransformerFactory.transformerFactoryConfigurationStrategy
(org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy transformerFactoryConfigurationStrategy) A configuration strategy to apply on freshly created instances of TransformerFactory.uriResolver
(String uriResolver) To use a custom javax.xml.transform.URIResolver.uriResolver
(URIResolver uriResolver) To use a custom javax.xml.transform.URIResolver.xsltMessageLogger
(String xsltMessageLogger) A consumer to messages generated during XSLT transformations.xsltMessageLogger
(org.apache.camel.component.xslt.XsltMessageLogger xsltMessageLogger) A consumer to messages generated during XSLT transformations.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
lazyStartProducer
default XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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
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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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
-
transformerFactory
default XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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 XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder 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
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
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
-
xsltMessageLogger
default XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder xsltMessageLogger(org.apache.camel.component.xslt.XsltMessageLogger xsltMessageLogger) A consumer to messages generated during XSLT transformations. The option is a: <code>org.apache.camel.component.xslt.XsltMessageLogger</code> type. Group: advanced- Parameters:
xsltMessageLogger
- the value to set- Returns:
- the dsl builder
-
xsltMessageLogger
default XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder xsltMessageLogger(String xsltMessageLogger) A consumer to messages generated during XSLT transformations. The option will be converted to a <code>org.apache.camel.component.xslt.XsltMessageLogger</code> type. Group: advanced- Parameters:
xsltMessageLogger
- the value to set- Returns:
- the dsl builder
-