Class BatchGoogleMailClientFactory
java.lang.Object
org.apache.camel.component.google.mail.BatchGoogleMailClientFactory
- All Implemented Interfaces:
GoogleMailClientFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.services.gmail.Gmail
makeClient
(String clientId, String clientSecret, Collection<String> scopes, String applicationName, String refreshToken, String accessToken) com.google.api.services.gmail.Gmail
makeClient
(org.apache.camel.CamelContext camelContext, String serviceAccountKey, Collection<String> scopes, String applicationName, String delegate)
-
Constructor Details
-
BatchGoogleMailClientFactory
public BatchGoogleMailClientFactory()
-
-
Method Details
-
makeClient
public com.google.api.services.gmail.Gmail makeClient(String clientId, String clientSecret, Collection<String> scopes, String applicationName, String refreshToken, String accessToken) - Specified by:
makeClient
in interfaceGoogleMailClientFactory
-
makeClient
public com.google.api.services.gmail.Gmail makeClient(org.apache.camel.CamelContext camelContext, String serviceAccountKey, Collection<String> scopes, String applicationName, String delegate) - Specified by:
makeClient
in interfaceGoogleMailClientFactory
-