@UriEndpoint(firstVersion="2.15.0", scheme="google-calendar", title="Google Calendar", syntax="google-calendar:apiName/methodName", consumerClass=GoogleCalendarConsumer.class, consumerPrefix="consumer", label="api,cloud") public class GoogleCalendarEndpoint extends org.apache.camel.util.component.AbstractApiEndpoint<GoogleCalendarApiName,GoogleCalendarConfiguration>
Constructor and Description |
---|
GoogleCalendarEndpoint(String uri,
GoogleCalendarComponent component,
GoogleCalendarApiName apiName,
String methodName,
GoogleCalendarConfiguration 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.calendar.Calendar |
getClient() |
GoogleCalendarClientFactory |
getClientFactory() |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleCalendarConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
void |
setClientFactory(GoogleCalendarClientFactory clientFactory) |
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, isSingleton, setInBody
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, 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 GoogleCalendarEndpoint(String uri, GoogleCalendarComponent component, GoogleCalendarApiName apiName, String methodName, GoogleCalendarConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<GoogleCalendarConfiguration> getPropertiesHelper()
getPropertiesHelper
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleCalendarApiName,GoogleCalendarConfiguration>
protected String getThreadProfileName()
getThreadProfileName
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleCalendarApiName,GoogleCalendarConfiguration>
protected void afterConfigureProperties()
afterConfigureProperties
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleCalendarApiName,GoogleCalendarConfiguration>
public com.google.api.services.calendar.Calendar getClient()
public Object getApiProxy(org.apache.camel.util.component.ApiMethod method, Map<String,Object> args)
getApiProxy
in class org.apache.camel.util.component.AbstractApiEndpoint<GoogleCalendarApiName,GoogleCalendarConfiguration>
public GoogleCalendarClientFactory getClientFactory()
public void setClientFactory(GoogleCalendarClientFactory clientFactory)
Apache Camel