@UriEndpoint(firstVersion="2.23.0", scheme="google-sheets", title="Google Sheets", syntax="google-sheets:apiName/methodName", apiSyntax="apiName/methodName", category={API,CLOUD,SHEETS}) public class GoogleSheetsEndpoint extends org.apache.camel.support.component.AbstractApiEndpoint<GoogleSheetsApiName,GoogleSheetsConfiguration>
Constructor and Description |
---|
GoogleSheetsEndpoint(String uri,
GoogleSheetsComponent component,
GoogleSheetsApiName apiName,
String methodName,
GoogleSheetsConfiguration 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.sheets.v4.Sheets |
getClient() |
GoogleSheetsClientFactory |
getClientFactory() |
protected org.apache.camel.support.component.ApiMethodPropertiesHelper<GoogleSheetsConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
void |
setClientFactory(GoogleSheetsClientFactory clientFactory) |
configureConsumer, configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, setInBody
configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configureExchange, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
build, doBuild, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
configureExchange, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, isLenientProperties, isSingletonProducer, setCamelContext
public GoogleSheetsEndpoint(String uri, GoogleSheetsComponent component, GoogleSheetsApiName apiName, String methodName, GoogleSheetsConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
protected org.apache.camel.support.component.ApiMethodPropertiesHelper<GoogleSheetsConfiguration> getPropertiesHelper()
getPropertiesHelper
in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleSheetsApiName,GoogleSheetsConfiguration>
protected String getThreadProfileName()
getThreadProfileName
in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleSheetsApiName,GoogleSheetsConfiguration>
protected void afterConfigureProperties()
afterConfigureProperties
in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleSheetsApiName,GoogleSheetsConfiguration>
public com.google.api.services.sheets.v4.Sheets getClient()
public Object getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)
getApiProxy
in class org.apache.camel.support.component.AbstractApiEndpoint<GoogleSheetsApiName,GoogleSheetsConfiguration>
public GoogleSheetsClientFactory getClientFactory()
public void setClientFactory(GoogleSheetsClientFactory clientFactory)
Apache Camel