public class GoogleCalendarProducer extends AbstractApiProducer<GoogleCalendarApiName,GoogleCalendarConfiguration>
endpoint, methodHelper, propertiesHelper
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
GoogleCalendarProducer(GoogleCalendarEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doInvokeMethod(ApiMethod method,
Map<String,Object> properties)
Invoke the API method.
|
findMethod, interceptProperties, interceptResult, process, splitResult
process
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public GoogleCalendarProducer(GoogleCalendarEndpoint endpoint)
protected Object doInvokeMethod(ApiMethod method, Map<String,Object> properties) throws RuntimeCamelException
AbstractApiProducer
doInvokeMethod
in class AbstractApiProducer<GoogleCalendarApiName,GoogleCalendarConfiguration>
method
- API method to invoke.properties
- method arguments from endpoint properties and exchange In headers.RuntimeCamelException
- on error. Exceptions thrown by API method are wrapped.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.