public static interface GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
accessToken(String accessToken)
OAuth 2 access token.
|
default GoogleCalendarEndpointBuilderFactory.AdvancedGoogleCalendarEndpointConsumerBuilder |
advanced() |
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
applicationName(String applicationName)
Google calendar application name.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
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 GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
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 GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
clientId(String clientId)
Client ID of the calendar application.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
clientSecret(String clientSecret)
Client secret of the calendar application.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
emailAddress(String emailAddress)
The emailAddress of the Google Service Account.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
p12FileName(String p12FileName)
The name of the p12 file which has the private key to use with the
Google Service Account.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
refreshToken(String refreshToken)
OAuth 2 refresh token.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
scopes(String scopes)
Specifies the level of permissions you want a calendar application to
have to a user account.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
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 GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
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 GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder |
user(String user)
The email address of the user the application is trying to
impersonate in the service account flow.
|
default GoogleCalendarEndpointBuilderFactory.AdvancedGoogleCalendarEndpointConsumerBuilder advanced()
default GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder applicationName(String applicationName)
applicationName - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder clientId(String clientId)
clientId - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder inBody(String inBody)
inBody - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scopes(String scopes)
scopes - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder accessToken(String accessToken)
accessToken - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder clientSecret(String clientSecret)
clientSecret - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder emailAddress(String emailAddress)
emailAddress - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder p12FileName(String p12FileName)
p12FileName - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder refreshToken(String refreshToken)
refreshToken - the value to setdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder user(String user)
user - the value to setApache Camel