public static interface XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointConsumerBuilder |
advanced() |
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
allowStAX(boolean allowStAX)
Whether to allow using StAX mode.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
allowStAX(String allowStAX)
Whether to allow using StAX mode.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
headerName(String headerName)
To use a Camel Message header as the input source instead of Message
body.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
namespacePrefixes(Map<String,String> namespacePrefixes)
Allows to control which namespace prefixes to use for a set of
namespace mappings.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
namespacePrefixes(String namespacePrefixes)
Allows to control which namespace prefixes to use for a set of
namespace mappings.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
resultsFormat(String resultsFormat)
What output result to use.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
resultsFormat(XQueryEndpointBuilderFactory.ResultFormat resultsFormat)
What output result to use.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
resultType(Class<Object> resultType)
What output result to use defined as a class.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
resultType(String resultType)
What output result to use defined as a class.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
stripsAllWhiteSpace(boolean stripsAllWhiteSpace)
Whether to strip all whitespaces.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
stripsAllWhiteSpace(String stripsAllWhiteSpace)
Whether to strip all whitespaces.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default XQueryEndpointBuilderFactory.AdvancedXQueryEndpointConsumerBuilder advanced()
default XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder allowStAX(boolean allowStAX)
boolean type.
Default: false
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder allowStAX(String allowStAX)
boolean type.
Default: false
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder headerName(String headerName)
java.lang.String type.
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder namespacePrefixes(Map<String,String> namespacePrefixes)
java.util.Map<java.lang.String,
java.lang.String> type.
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder namespacePrefixes(String namespacePrefixes)
java.util.Map<java.lang.String, java.lang.String>
type.
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder resultsFormat(XQueryEndpointBuilderFactory.ResultFormat resultsFormat)
org.apache.camel.component.xquery.ResultFormat type.
Default: DOM
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder resultsFormat(String resultsFormat)
org.apache.camel.component.xquery.ResultFormat type.
Default: DOM
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder resultType(Class<Object> resultType)
java.lang.Class<java.lang.Object>
type.
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder resultType(String resultType)
java.lang.Class<java.lang.Object> type.
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder stripsAllWhiteSpace(boolean stripsAllWhiteSpace)
boolean type.
Default: true
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder stripsAllWhiteSpace(String stripsAllWhiteSpace)
boolean type.
Default: true
Group: commondefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder schedulerProperties(String key, Object value)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the
schedulerProperties(String, Object) method to add a value (call the
method multiple times to set more values).
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder schedulerProperties(Map values)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the
schedulerProperties(String, Object) method to add a value (call the
method multiple times to set more values).
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault XQueryEndpointBuilderFactory.XQueryEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerApache Camel