@UriEndpoint(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, 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, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic GoogleCalendarEndpoint(String uri, GoogleCalendarComponent component, GoogleCalendarApiName apiName, String methodName, GoogleCalendarConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected 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