@UriEndpoint(firstVersion="2.23.0", scheme="google-calendar-stream", title="Google Calendar Stream", syntax="google-calendar-stream:index", consumerClass=GoogleCalendarStreamConsumer.class, consumerOnly=true, label="api,cloud") public class GoogleCalendarStreamEndpoint extends org.apache.camel.impl.ScheduledPollEndpoint
Constructor and Description |
---|
GoogleCalendarStreamEndpoint(String uri,
GoogleCalendarStreamComponent component,
GoogleCalendarStreamConfiguration endpointConfiguration) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern,
com.google.api.services.calendar.model.Event event) |
org.apache.camel.Producer |
createProducer() |
com.google.api.services.calendar.Calendar |
getClient() |
GoogleCalendarClientFactory |
getClientFactory() |
GoogleCalendarStreamConfiguration |
getConfiguration() |
boolean |
isSingleton() |
void |
setClientFactory(GoogleCalendarClientFactory clientFactory) |
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, 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 GoogleCalendarStreamEndpoint(String uri, GoogleCalendarStreamComponent component, GoogleCalendarStreamConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public com.google.api.services.calendar.Calendar getClient()
public GoogleCalendarClientFactory getClientFactory()
public void setClientFactory(GoogleCalendarClientFactory clientFactory)
public GoogleCalendarStreamConfiguration getConfiguration()
public boolean isSingleton()
public org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern, com.google.api.services.calendar.model.Event event) throws UnsupportedEncodingException
UnsupportedEncodingException
Apache Camel