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)
java.lang.String type.
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder clientId(String clientId)
java.lang.String type.
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder emailAddress(String emailAddress)
java.lang.String type.
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder inBody(String inBody)
java.lang.String type.
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder p12FileName(String p12FileName)
java.lang.String type.
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scopes(String scopes)
java.lang.String type.
Default: https://www.googleapis.com/auth/calendar
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder user(String user)
java.lang.String type.
Group: commondefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder 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 GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder 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 GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder accessToken(String accessToken)
java.lang.String type.
Group: securitydefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder clientSecret(String clientSecret)
java.lang.String type.
Group: securitydefault GoogleCalendarEndpointBuilderFactory.GoogleCalendarEndpointConsumerBuilder refreshToken(String refreshToken)
java.lang.String type.
Group: securityApache Camel