Interface XQueryEndpointBuilderFactory.XQueryEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder,XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
- Enclosing interface:
- XQueryEndpointBuilderFactory
public static interface XQueryEndpointBuilderFactory.XQueryEndpointBuilder extends XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder, XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
Builder for endpoint for the XQuery component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointBuilderadvanced()default XQueryEndpointBuilderFactory.XQueryEndpointBuilderallowStAX(boolean allowStAX)Whether to allow using StAX mode.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderallowStAX(String allowStAX)Whether to allow using StAX mode.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderheaderName(String headerName)To use a Camel Message header as the input source instead of Message body.default XQueryEndpointBuilderFactory.XQueryEndpointBuildernamespacePrefixes(String namespacePrefixes)Allows to control which namespace prefixes to use for a set of namespace mappings.default XQueryEndpointBuilderFactory.XQueryEndpointBuildernamespacePrefixes(Map<String,String> namespacePrefixes)Allows to control which namespace prefixes to use for a set of namespace mappings.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderpropertyName(String propertyName)To use a Camel Exchange property as the input source instead of Message body.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderresultsFormat(String resultsFormat)What output result to use.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderresultsFormat(org.apache.camel.component.xquery.ResultFormat resultsFormat)What output result to use.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderresultType(Class<Object> resultType)What output result to use defined as a class.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderresultType(String resultType)What output result to use defined as a class.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderstripsAllWhiteSpace(boolean stripsAllWhiteSpace)Whether to strip all whitespaces.default XQueryEndpointBuilderFactory.XQueryEndpointBuilderstripsAllWhiteSpace(String stripsAllWhiteSpace)Whether to strip all whitespaces.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, delay, delay, greedy, greedy, initialDelay, initialDelay, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay
-
-
-
-
Method Detail
-
advanced
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointBuilder advanced()
- Specified by:
advancedin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
advancedin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
-
allowStAX
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder allowStAX(boolean allowStAX)
Whether to allow using StAX mode. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
allowStAXin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
allowStAXin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
allowStAX- the value to set- Returns:
- the dsl builder
-
allowStAX
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder allowStAX(String allowStAX)
Whether to allow using StAX mode. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
allowStAXin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
allowStAXin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
allowStAX- the value to set- Returns:
- the dsl builder
-
headerName
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
headerNamein interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
headerNamein interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
headerName- the value to set- Returns:
- the dsl builder
-
namespacePrefixes
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
namespacePrefixesin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
namespacePrefixesin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
namespacePrefixes- the value to set- Returns:
- the dsl builder
-
namespacePrefixes
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
namespacePrefixesin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
namespacePrefixesin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
namespacePrefixes- the value to set- Returns:
- the dsl builder
-
propertyName
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder propertyName(String propertyName)
To use a Camel Exchange property as the input source instead of Message body. It has a lower precedent than the name of header if both are set. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
propertyNamein interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
propertyNamein interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
propertyName- the value to set- Returns:
- the dsl builder
-
resultsFormat
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
resultsFormatin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
resultsFormatin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
resultsFormat- the value to set- Returns:
- the dsl builder
-
resultsFormat
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
resultsFormatin interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
resultsFormatin interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
resultsFormat- the value to set- Returns:
- the dsl builder
-
resultType
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
resultTypein interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
resultTypein interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
resultType- the value to set- Returns:
- the dsl builder
-
resultType
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder 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- Specified by:
resultTypein interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
resultTypein interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
resultType- the value to set- Returns:
- the dsl builder
-
stripsAllWhiteSpace
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder stripsAllWhiteSpace(boolean stripsAllWhiteSpace)
Whether to strip all whitespaces. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
stripsAllWhiteSpacein interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
stripsAllWhiteSpacein interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
stripsAllWhiteSpace- the value to set- Returns:
- the dsl builder
-
stripsAllWhiteSpace
default XQueryEndpointBuilderFactory.XQueryEndpointBuilder stripsAllWhiteSpace(String stripsAllWhiteSpace)
Whether to strip all whitespaces. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
stripsAllWhiteSpacein interfaceXQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder- Specified by:
stripsAllWhiteSpacein interfaceXQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder- Parameters:
stripsAllWhiteSpace- the value to set- Returns:
- the dsl builder
-
-