public static interface GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder extends ComponentBuilder<org.apache.camel.component.google.mail.GoogleMailComponent>
| Modifier and Type | Method and Description |
|---|---|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
accessToken(String accessToken)
OAuth 2 access token.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
applicationName(String applicationName)
Google mail application name.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
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 GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
clientFactory(org.apache.camel.component.google.mail.GoogleMailClientFactory clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the
client.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
clientId(String clientId)
Client ID of the mail application.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
clientSecret(String clientSecret)
Client secret of the mail application.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
configuration(org.apache.camel.component.google.mail.GoogleMailConfiguration configuration)
To use the shared configuration.
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder |
refreshToken(String refreshToken)
OAuth 2 refresh token.
|
build, build, doSetProperty, registerdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder applicationName(String applicationName)
applicationName - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder clientId(String clientId)
clientId - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder configuration(org.apache.camel.component.google.mail.GoogleMailConfiguration configuration)
configuration - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder clientFactory(org.apache.camel.component.google.mail.GoogleMailClientFactory clientFactory)
clientFactory - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder accessToken(String accessToken)
accessToken - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder clientSecret(String clientSecret)
clientSecret - the value to setdefault GoogleMailComponentBuilderFactory.GoogleMailComponentBuilder refreshToken(String refreshToken)
refreshToken - the value to setApache Camel