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)
java.lang.String type.
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder calendarId(String calendarId)
java.lang.String type.
Default: primary
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder clientId(String clientId)
java.lang.String type.
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder considerLastUpdate(boolean considerLastUpdate)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder considerLastUpdate(String considerLastUpdate)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder consumeFromNow(boolean consumeFromNow)
boolean type.
Default: true
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder consumeFromNow(String consumeFromNow)
boolean type.
Default: true
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder maxResults(int maxResults)
int type.
Default: 10
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder maxResults(String maxResults)
int type.
Default: 10
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder query(String query)
java.lang.String type.
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scopes(List<String> scopes)
java.util.List<java.lang.String>
type.
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scopes(String scopes)
java.util.List<java.lang.String> type.
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder 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 GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder 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 GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder accessToken(String accessToken)
java.lang.String type.
Group: securitydefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder clientSecret(String clientSecret)
java.lang.String type.
Group: securitydefault GoogleCalendarStreamEndpointBuilderFactory.GoogleCalendarStreamEndpointBuilder refreshToken(String refreshToken)
java.lang.String type.
Group: securityApache Camel