Class GoogleSheetsStreamEndpoint
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.support.DefaultEndpoint
-
- org.apache.camel.support.ScheduledPollEndpoint
-
- org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamEndpoint
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.CamelContextAware
,org.apache.camel.Endpoint
,org.apache.camel.IsSingleton
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.HasId
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="2.23.0", scheme="google-sheets-stream", title="Google Sheets Stream", syntax="google-sheets-stream:apiName", apiSyntax="apiName", consumerOnly=true, category={API,CLOUD,SHEETS}) public class GoogleSheetsStreamEndpoint extends org.apache.camel.support.ScheduledPollEndpoint
Poll for changes in Google Sheets.
-
-
Constructor Summary
Constructors Constructor Description GoogleSheetsStreamEndpoint(String uri, GoogleSheetsStreamComponent component, GoogleSheetsStreamConfiguration endpointConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.Consumer
createConsumer(org.apache.camel.Processor processor)
org.apache.camel.Exchange
createExchange(int rangeIndex, int valueIndex, String range, String majorDimension, List<Object> values)
org.apache.camel.Exchange
createExchange(int rangeIndex, com.google.api.services.sheets.v4.model.ValueRange valueRange)
org.apache.camel.Exchange
createExchange(com.google.api.services.sheets.v4.model.Spreadsheet spreadsheet)
org.apache.camel.Producer
createProducer()
com.google.api.services.sheets.v4.Sheets
getClient()
GoogleSheetsClientFactory
getClientFactory()
GoogleSheetsStreamConfiguration
getConfiguration()
void
setClientFactory(GoogleSheetsClientFactory clientFactory)
-
Methods inherited from class org.apache.camel.support.ScheduledPollEndpoint
configureConsumer, configureProperties, 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
-
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
GoogleSheetsStreamEndpoint
public GoogleSheetsStreamEndpoint(String uri, GoogleSheetsStreamComponent component, GoogleSheetsStreamConfiguration endpointConfiguration)
-
-
Method Detail
-
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
- Throws:
Exception
-
getClient
public com.google.api.services.sheets.v4.Sheets getClient()
-
getClientFactory
public GoogleSheetsClientFactory getClientFactory()
-
setClientFactory
public void setClientFactory(GoogleSheetsClientFactory clientFactory)
-
getConfiguration
public GoogleSheetsStreamConfiguration getConfiguration()
-
createExchange
public org.apache.camel.Exchange createExchange(int rangeIndex, com.google.api.services.sheets.v4.model.ValueRange valueRange)
-
createExchange
public org.apache.camel.Exchange createExchange(int rangeIndex, int valueIndex, String range, String majorDimension, List<Object> values)
-
createExchange
public org.apache.camel.Exchange createExchange(com.google.api.services.sheets.v4.model.Spreadsheet spreadsheet)
-
-