Interface XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
XQueryEndpointBuilderFactory.AdvancedXQueryEndpointBuilder
- Enclosing interface:
- XQueryEndpointBuilderFactory
public static interface XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the XQuery component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
configuration
(String configuration) To use a custom Saxon configuration.configuration
(net.sf.saxon.Configuration configuration) To use a custom Saxon configuration.configurationProperties
(String configurationProperties) To set custom Saxon configuration properties.configurationProperties
(Map<String, Object> configurationProperties) To set custom Saxon configuration properties.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).moduleURIResolver
(String moduleURIResolver) To use the custom ModuleURIResolver.moduleURIResolver
(net.sf.saxon.lib.ModuleURIResolver moduleURIResolver) To use the custom ModuleURIResolver.parameters
(String parameters) Additional parameters.parameters
(Map<String, Object> parameters) Additional parameters.properties
(String properties) Properties to configure the serialization parameters.properties
(Properties properties) Properties to configure the serialization parameters.staticQueryContext
(String staticQueryContext) To use a custom Saxon StaticQueryContext.staticQueryContext
(net.sf.saxon.query.StaticQueryContext staticQueryContext) To use a custom Saxon StaticQueryContext.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 XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder 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 XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder 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
-
configuration
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder configuration(net.sf.saxon.Configuration configuration) To use a custom Saxon configuration. The option is a: <code>net.sf.saxon.Configuration</code> type. Group: advanced- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
configuration
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder configuration(String configuration) To use a custom Saxon configuration. The option will be converted to a <code>net.sf.saxon.Configuration</code> type. Group: advanced- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
configurationProperties
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder configurationProperties(Map<String, Object> configurationProperties) To set custom Saxon configuration properties. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
configurationProperties
- the value to set- Returns:
- the dsl builder
-
configurationProperties
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder configurationProperties(String configurationProperties) To set custom Saxon configuration properties. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
configurationProperties
- the value to set- Returns:
- the dsl builder
-
moduleURIResolver
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder moduleURIResolver(net.sf.saxon.lib.ModuleURIResolver moduleURIResolver) To use the custom ModuleURIResolver. The option is a: <code>net.sf.saxon.lib.ModuleURIResolver</code> type. Group: advanced- Parameters:
moduleURIResolver
- the value to set- Returns:
- the dsl builder
-
moduleURIResolver
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder moduleURIResolver(String moduleURIResolver) To use the custom ModuleURIResolver. The option will be converted to a <code>net.sf.saxon.lib.ModuleURIResolver</code> type. Group: advanced- Parameters:
moduleURIResolver
- the value to set- Returns:
- the dsl builder
-
parameters
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder parameters(Map<String, Object> parameters) Additional parameters. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
parameters
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder parameters(String parameters) Additional parameters. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
properties
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder properties(Properties properties) Properties to configure the serialization parameters. The option is a: <code>java.util.Properties</code> type. Group: advanced- Parameters:
properties
- the value to set- Returns:
- the dsl builder
-
properties
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder properties(String properties) Properties to configure the serialization parameters. The option will be converted to a <code>java.util.Properties</code> type. Group: advanced- Parameters:
properties
- the value to set- Returns:
- the dsl builder
-
staticQueryContext
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder staticQueryContext(net.sf.saxon.query.StaticQueryContext staticQueryContext) To use a custom Saxon StaticQueryContext. The option is a: <code>net.sf.saxon.query.StaticQueryContext</code> type. Group: advanced- Parameters:
staticQueryContext
- the value to set- Returns:
- the dsl builder
-
staticQueryContext
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder staticQueryContext(String staticQueryContext) To use a custom Saxon StaticQueryContext. The option will be converted to a <code>net.sf.saxon.query.StaticQueryContext</code> type. Group: advanced- Parameters:
staticQueryContext
- the value to set- Returns:
- the dsl builder
-