public static interface EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default EtcdEndpointBuilderFactory.AdvancedEtcdEndpointConsumerBuilder |
advanced() |
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
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 EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
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 EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
password(String password)
The password to use for basic authentication.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
recursive(boolean recursive)
To apply an action recursively.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
recursive(String recursive)
To apply an action recursively.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
schedulerProperties(Map<String,Object> schedulerProperties)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
schedulerProperties(String schedulerProperties)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
sendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
sendEmptyExchangeOnTimeout(String sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
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 EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
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 EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
servicePath(String servicePath)
The path to look for for service discovery.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
sslContextParameters(Object sslContextParameters)
To configure security using SSLContextParameters.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
timeout(Long timeout)
To set the maximum time an action could take to complete.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
timeout(String timeout)
To set the maximum time an action could take to complete.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
uris(String uris)
To set the URIs the client connects.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder |
userName(String userName)
The user name to use for basic authentication.
|
default EtcdEndpointBuilderFactory.AdvancedEtcdEndpointConsumerBuilder advanced()
default EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder recursive(boolean recursive)
boolean type.
Default: false
Group: commondefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder recursive(String recursive)
boolean type.
Default: false
Group: commondefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder servicePath(String servicePath)
java.lang.String type.
Default: /services/
Group: commondefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder timeout(Long timeout)
java.lang.Long type.
Group: commondefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder timeout(String timeout)
java.lang.Long type.
Group: commondefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder uris(String uris)
java.lang.String type.
Default: http://localhost:2379,http://localhost:4001
Group: commondefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder sendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
boolean type.
Default: false
Group: consumerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder sendEmptyExchangeOnTimeout(String sendEmptyExchangeOnTimeout)
boolean type.
Default: false
Group: consumerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder scheduler(String scheduler)
java.lang.String type.
Default: none
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder schedulerProperties(Map<String,Object> schedulerProperties)
java.util.Map<java.lang.String,
java.lang.Object> type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder schedulerProperties(String schedulerProperties)
java.util.Map<java.lang.String, java.lang.Object>
type.
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder password(String password)
java.lang.String type.
Group: securitydefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder sslContextParameters(Object sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder sslContextParameters(String sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault EtcdEndpointBuilderFactory.EtcdEndpointConsumerBuilder userName(String userName)
java.lang.String type.
Group: securityApache Camel