@UriEndpoint(scheme="google-drive", title="Google Drive", syntax="google-drive:apiName/methodName", consumerClass=GoogleDriveConsumer.class, consumerPrefix="consumer", label="api,cloud,file") public class GoogleDriveEndpoint extends org.apache.camel.util.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>
Constructor and Description |
---|
GoogleDriveEndpoint(String uri,
GoogleDriveComponent component,
GoogleDriveApiName apiName,
String methodName,
GoogleDriveConfiguration 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.drive.Drive |
getClient() |
GoogleDriveClientFactory |
getClientFactory() |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleDriveConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
void |
setClientFactory(GoogleDriveClientFactory clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the client.
|
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, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public GoogleDriveEndpoint(String uri, GoogleDriveComponent component, GoogleDriveApiName apiName, String methodName, GoogleDriveConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleDriveConfiguration> getPropertiesHelper()
getPropertiesHelper
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>
protected String getThreadProfileName()
getThreadProfileName
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>
protected void afterConfigureProperties()
afterConfigureProperties
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>
public com.google.api.services.drive.Drive getClient()
public Object getApiProxy(org.apache.camel.util.component.ApiMethod method, Map<String,Object> args)
getApiProxy
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>
public GoogleDriveClientFactory getClientFactory()
public void setClientFactory(GoogleDriveClientFactory clientFactory)
BatchGoogleDriveClientFactory
Apache Camel