@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() |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleDriveConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, isSingleton, setInBodyconfigureConsumer, 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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, 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.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>Apache Camel