Interface XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- XJEndpointBuilderFactory
public static interface XJEndpointBuilderFactory.AdvancedXJEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the XJ component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default XJEndpointBuilderFactory.XJEndpointBuilder
basic()
default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
entityResolver(String entityResolver)
To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
entityResolver(EntityResolver entityResolver)
To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
errorListener(String errorListener)
Allows to configure to use a custom javax.xml.transform.ErrorListener.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
errorListener(ErrorListener errorListener)
Allows to configure to use a custom javax.xml.transform.ErrorListener.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
saxonConfiguration(String saxonConfiguration)
To use a custom Saxon configuration.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
saxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
To use a custom Saxon configuration.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
saxonExtensionFunctions(String saxonExtensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
secureProcessing(boolean secureProcessing)
Feature for XML secure processing (see javax.xml.XMLConstants).default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
secureProcessing(String secureProcessing)
Feature for XML secure processing (see javax.xml.XMLConstants).default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
transformerFactory(String transformerFactory)
To use a custom XSLT transformer factory.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
transformerFactory(TransformerFactory transformerFactory)
To use a custom XSLT transformer factory.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
transformerFactoryClass(String transformerFactoryClass)
To use a custom XSLT transformer factory, specified as a FQN class name.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
transformerFactoryConfigurationStrategy(String transformerFactoryConfigurationStrategy)
A configuration strategy to apply on freshly created instances of TransformerFactory.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
transformerFactoryConfigurationStrategy(org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy transformerFactoryConfigurationStrategy)
A configuration strategy to apply on freshly created instances of TransformerFactory.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
uriResolver(String uriResolver)
To use a custom javax.xml.transform.URIResolver.default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder
uriResolver(URIResolver uriResolver)
To use a custom javax.xml.transform.URIResolver.
-
-
-
Method Detail
-
basic
default XJEndpointBuilderFactory.XJEndpointBuilder basic()
-
lazyStartProducer
default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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
-
-