Interface XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
XQueryEndpointBuilderFactory.XQueryEndpointBuilder
- Enclosing interface:
- XQueryEndpointBuilderFactory
public static interface XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the XQuery component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder
advanced()
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
allowStAX(boolean allowStAX)
Whether to allow using StAX mode.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
allowStAX(String allowStAX)
Whether to allow using StAX mode.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
headerName(String headerName)
To use a Camel Message header as the input source instead of Message body.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
namespacePrefixes(String namespacePrefixes)
Allows to control which namespace prefixes to use for a set of namespace mappings.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
namespacePrefixes(Map<String,String> namespacePrefixes)
Allows to control which namespace prefixes to use for a set of namespace mappings.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
resultsFormat(String resultsFormat)
What output result to use.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
resultsFormat(org.apache.camel.component.xquery.ResultFormat resultsFormat)
What output result to use.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
resultType(Class<Object> resultType)
What output result to use defined as a class.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
resultType(String resultType)
What output result to use defined as a class.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
stripsAllWhiteSpace(boolean stripsAllWhiteSpace)
Whether to strip all whitespaces.default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
stripsAllWhiteSpace(String stripsAllWhiteSpace)
Whether to strip all whitespaces.
-
-
-
Method Detail
-
advanced
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointProducerBuilder advanced()
-
allowStAX
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder allowStAX(boolean allowStAX)
Whether to allow using StAX mode. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
allowStAX
- the value to set- Returns:
- the dsl builder
-
allowStAX
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder allowStAX(String allowStAX)
Whether to allow using StAX mode. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
allowStAX
- the value to set- Returns:
- the dsl builder
-
headerName
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder headerName(String headerName)
To use a Camel Message header as the input source instead of Message body. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
headerName
- the value to set- Returns:
- the dsl builder
-
namespacePrefixes
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder namespacePrefixes(Map<String,String> namespacePrefixes)
Allows to control which namespace prefixes to use for a set of namespace mappings. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
namespacePrefixes
- the value to set- Returns:
- the dsl builder
-
namespacePrefixes
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder namespacePrefixes(String namespacePrefixes)
Allows to control which namespace prefixes to use for a set of namespace mappings. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
namespacePrefixes
- the value to set- Returns:
- the dsl builder
-
resultsFormat
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultsFormat(org.apache.camel.component.xquery.ResultFormat resultsFormat)
What output result to use. The option is a: <code>org.apache.camel.component.xquery.ResultFormat</code> type. Default: DOM Group: common- Parameters:
resultsFormat
- the value to set- Returns:
- the dsl builder
-
resultsFormat
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultsFormat(String resultsFormat)
What output result to use. The option will be converted to a <code>org.apache.camel.component.xquery.ResultFormat</code> type. Default: DOM Group: common- Parameters:
resultsFormat
- the value to set- Returns:
- the dsl builder
-
resultType
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultType(Class<Object> resultType)
What output result to use defined as a class. The option is a: <code>java.lang.Class<java.lang.Object></code> type. Group: common- Parameters:
resultType
- the value to set- Returns:
- the dsl builder
-
resultType
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultType(String resultType)
What output result to use defined as a class. The option will be converted to a <code>java.lang.Class<java.lang.Object></code> type. Group: common- Parameters:
resultType
- the value to set- Returns:
- the dsl builder
-
stripsAllWhiteSpace
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder stripsAllWhiteSpace(boolean stripsAllWhiteSpace)
Whether to strip all whitespaces. The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
stripsAllWhiteSpace
- the value to set- Returns:
- the dsl builder
-
stripsAllWhiteSpace
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder stripsAllWhiteSpace(String stripsAllWhiteSpace)
Whether to strip all whitespaces. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
stripsAllWhiteSpace
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder 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- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder 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- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
-