public static interface TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default TwilioEndpointBuilderFactory.AdvancedTwilioEndpointConsumerBuilder |
advanced() |
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
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 TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
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 TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
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 TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
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 TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default TwilioEndpointBuilderFactory.AdvancedTwilioEndpointConsumerBuilder advanced()
default TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder inBody(String inBody)
inBody - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault TwilioEndpointBuilderFactory.TwilioEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setApache Camel