@UriEndpoint(scheme="google-mail", syntax="google-mail:apiName/methodName", consumerClass=GoogleMailConsumer.class, consumerPrefix="consumer", label="api,cloud,mail") public class GoogleMailEndpoint extends org.apache.camel.util.component.AbstractApiEndpoint<GoogleMailApiName,GoogleMailConfiguration>
Constructor and Description |
---|
GoogleMailEndpoint(String uri,
GoogleMailComponent component,
GoogleMailApiName apiName,
String methodName,
GoogleMailConfiguration endpointConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterConfigureProperties() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
Object |
getApiProxy(org.apache.camel.util.component.ApiMethod method,
Map<String,Object> args) |
com.google.api.services.gmail.Gmail |
getClient() |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleMailConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, isSingleton, setInBody
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public GoogleMailEndpoint(String uri, GoogleMailComponent component, GoogleMailApiName apiName, String methodName, GoogleMailConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleMailConfiguration> getPropertiesHelper()
getPropertiesHelper
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleMailApiName,GoogleMailConfiguration>
protected String getThreadProfileName()
getThreadProfileName
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleMailApiName,GoogleMailConfiguration>
protected void afterConfigureProperties()
afterConfigureProperties
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleMailApiName,GoogleMailConfiguration>
public com.google.api.services.gmail.Gmail getClient()
public Object getApiProxy(org.apache.camel.util.component.ApiMethod method, Map<String,Object> args)
getApiProxy
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleMailApiName,GoogleMailConfiguration>
Apache Camel