public static interface GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
accessToken(String accessToken)
OAuth 2 access token.
|
default GoogleCalendarStreamEndpointBuilderFactory.AdvancedGoogleCalendarStreamEndpointBuilder |
advanced() |
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
applicationName(String applicationName)
Google Calendar application name.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
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 GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
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 GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
calendarId(String calendarId)
The calendarId to be used.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
clientId(String clientId)
Client ID of the calendar application.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
clientSecret(String clientSecret)
Client secret of the calendar application.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
considerLastUpdate(boolean considerLastUpdate)
Take into account the lastUpdate of the last event polled as start
date for the next poll.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
considerLastUpdate(String considerLastUpdate)
Take into account the lastUpdate of the last event polled as start
date for the next poll.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
consumeFromNow(boolean consumeFromNow)
Consume events in the selected calendar from now on.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
consumeFromNow(String consumeFromNow)
Consume events in the selected calendar from now on.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
maxResults(int maxResults)
Max results to be returned.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
maxResults(String maxResults)
Max results to be returned.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
query(String query)
The query to execute on calendar.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
refreshToken(String refreshToken)
OAuth 2 refresh token.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
scopes(List<String> scopes)
Specifies the level of permissions you want a calendar application to
have to a user account.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
scopes(String scopes)
Specifies the level of permissions you want a calendar application to
have to a user account.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
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 GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
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 GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default GoogleCalendarStreamEndpointBuilderFactory.AdvancedGoogleCalendarStreamEndpointBuilder advanced()
default GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder applicationName(String applicationName)
applicationName - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder calendarId(String calendarId)
calendarId - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder clientId(String clientId)
clientId - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder considerLastUpdate(boolean considerLastUpdate)
considerLastUpdate - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder considerLastUpdate(String considerLastUpdate)
considerLastUpdate - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder consumeFromNow(boolean consumeFromNow)
consumeFromNow - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder consumeFromNow(String consumeFromNow)
consumeFromNow - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder maxResults(int maxResults)
maxResults - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder maxResults(String maxResults)
maxResults - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder query(String query)
query - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scopes(List<String> scopes)
scopes - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scopes(String scopes)
scopes - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder delay(long delay)
delay - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder delay(String delay)
delay - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder greedy(boolean greedy)
greedy - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder greedy(String greedy)
greedy - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduler(Object scheduler)
scheduler - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduler(String scheduler)
scheduler - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder schedulerProperties(Map values)
values - the valuesdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder accessToken(String accessToken)
accessToken - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder clientSecret(String clientSecret)
clientSecret - the value to setdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder refreshToken(String refreshToken)
refreshToken - the value to setApache Camel