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)
java.lang.String type.
Group: commondefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder 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 ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder 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 ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault ApnsEndpointBuilderFactory.ApnsEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerApache Camel