@Component(value="google-mail") public class GoogleMailComponent extends org.apache.camel.support.component.AbstractApiComponent<GoogleMailApiName,GoogleMailConfiguration,GoogleMailApiCollection>
Constructor and Description |
---|
GoogleMailComponent() |
GoogleMailComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String methodName,
GoogleMailApiName apiName,
GoogleMailConfiguration endpointConfiguration) |
protected GoogleMailApiName |
getApiName(String apiNameStr) |
com.google.api.services.gmail.Gmail |
getClient(GoogleMailConfiguration googleMailConfiguration) |
GoogleMailClientFactory |
getClientFactory() |
GoogleMailConfiguration |
getConfiguration() |
void |
setClientFactory(GoogleMailClientFactory clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the client.
|
void |
setConfiguration(GoogleMailConfiguration configuration)
To use the shared configuration
|
createEndpoint, createEndpointConfiguration
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
build, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public GoogleMailComponent()
public GoogleMailComponent(org.apache.camel.CamelContext context)
protected GoogleMailApiName getApiName(String apiNameStr)
getApiName
in class org.apache.camel.support.component.AbstractApiComponent<GoogleMailApiName,GoogleMailConfiguration,GoogleMailApiCollection>
public com.google.api.services.gmail.Gmail getClient(GoogleMailConfiguration googleMailConfiguration)
public GoogleMailClientFactory getClientFactory()
public void setConfiguration(GoogleMailConfiguration configuration)
setConfiguration
in class org.apache.camel.support.component.AbstractApiComponent<GoogleMailApiName,GoogleMailConfiguration,GoogleMailApiCollection>
public GoogleMailConfiguration getConfiguration()
getConfiguration
in class org.apache.camel.support.component.AbstractApiComponent<GoogleMailApiName,GoogleMailConfiguration,GoogleMailApiCollection>
public void setClientFactory(GoogleMailClientFactory clientFactory)
BatchGoogleMailClientFactory
protected org.apache.camel.Endpoint createEndpoint(String uri, String methodName, GoogleMailApiName apiName, GoogleMailConfiguration endpointConfiguration)
createEndpoint
in class org.apache.camel.support.component.AbstractApiComponent<GoogleMailApiName,GoogleMailConfiguration,GoogleMailApiCollection>
Apache Camel