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