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