public static interface AtomEndpointBuilderFactory.AtomEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default AtomEndpointBuilderFactory.AdvancedAtomEndpointBuilder |
advanced() |
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
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 AtomEndpointBuilderFactory.AtomEndpointBuilder |
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 AtomEndpointBuilderFactory.AtomEndpointBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
feedHeader(boolean feedHeader)
Sets whether to add the feed object as a header.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
feedHeader(String feedHeader)
Sets whether to add the feed object as a header.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
filter(boolean filter)
Sets whether to use filtering or not of the entries.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
filter(String filter)
Sets whether to use filtering or not of the entries.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
lastUpdate(Date lastUpdate)
Sets the timestamp to be used for filtering entries from the atom
feeds.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
lastUpdate(String lastUpdate)
Sets the timestamp to be used for filtering entries from the atom
feeds.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
password(String password)
Sets the password to be used for basic authentication when polling
from a HTTP feed.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
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 AtomEndpointBuilderFactory.AtomEndpointBuilder |
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 AtomEndpointBuilderFactory.AtomEndpointBuilder |
sortEntries(boolean sortEntries)
Sets whether to sort entries by published date.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
sortEntries(String sortEntries)
Sets whether to sort entries by published date.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
splitEntries(boolean splitEntries)
Sets whether or not entries should be sent individually or whether
the entire feed should be sent as a single message.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
splitEntries(String splitEntries)
Sets whether or not entries should be sent individually or whether
the entire feed should be sent as a single message.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
throttleEntries(boolean throttleEntries)
Sets whether all entries identified in a single feed poll should be
delivered immediately.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
throttleEntries(String throttleEntries)
Sets whether all entries identified in a single feed poll should be
delivered immediately.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default AtomEndpointBuilderFactory.AtomEndpointBuilder |
username(String username)
Sets the username to be used for basic authentication when polling
from a HTTP feed.
|
default AtomEndpointBuilderFactory.AdvancedAtomEndpointBuilder advanced()
default AtomEndpointBuilderFactory.AtomEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder feedHeader(boolean feedHeader)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder feedHeader(String feedHeader)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder filter(boolean filter)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder filter(String filter)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder lastUpdate(Date lastUpdate)
java.util.Date type.
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder lastUpdate(String lastUpdate)
java.util.Date type.
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder password(String password)
java.lang.String type.
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder sortEntries(boolean sortEntries)
boolean type.
Default: false
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder sortEntries(String sortEntries)
boolean type.
Default: false
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder splitEntries(boolean splitEntries)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder splitEntries(String splitEntries)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder throttleEntries(boolean throttleEntries)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder throttleEntries(String throttleEntries)
boolean type.
Default: true
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder username(String username)
java.lang.String type.
Group: consumerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder 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 AtomEndpointBuilderFactory.AtomEndpointBuilder 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 AtomEndpointBuilderFactory.AtomEndpointBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault AtomEndpointBuilderFactory.AtomEndpointBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerApache Camel