@UriEndpoint(firstVersion="2.14.0",
scheme="google-drive",
title="Google Drive",
syntax="google-drive:apiName/methodName",
consumerPrefix="consumer",
label="api,cloud,file")
public class GoogleDriveEndpoint
extends org.apache.camel.support.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.support.component.ApiMethod method,
Map<String,Object> args) |
com.google.api.services.drive.Drive |
getClient() |
GoogleDriveClientFactory |
getClientFactory() |
protected org.apache.camel.support.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, setInBodyconfigureConsumer, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic GoogleDriveEndpoint(String uri, GoogleDriveComponent component, GoogleDriveApiName apiName, String methodName, GoogleDriveConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected org.apache.camel.support.component.ApiMethodPropertiesHelper<GoogleDriveConfiguration> getPropertiesHelper()
getPropertiesHelper in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>protected String getThreadProfileName()
getThreadProfileName in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>protected void afterConfigureProperties()
afterConfigureProperties in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>public com.google.api.services.drive.Drive getClient()
public Object getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)
getApiProxy in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleDriveApiName,GoogleDriveConfiguration>public GoogleDriveClientFactory getClientFactory()
public void setClientFactory(GoogleDriveClientFactory clientFactory)
BatchGoogleDriveClientFactoryApache Camel