Class Olingo4Endpoint
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.support.component.AbstractApiEndpoint<Olingo4ApiName,Olingo4Configuration>
org.apache.camel.component.olingo4.Olingo4Endpoint
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.ApiEndpoint
,org.apache.camel.CamelContextAware
,org.apache.camel.ComponentAware
,org.apache.camel.Endpoint
,org.apache.camel.IsSingleton
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.HasCamelContext
,org.apache.camel.spi.HasId
,org.apache.camel.StatefulService
,org.apache.camel.support.component.PropertiesInterceptor
,org.apache.camel.support.component.PropertyNamesInterceptor
,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="2.19.0",
scheme="olingo4",
title="Olingo4",
syntax="olingo4:apiName/methodName",
apiSyntax="apiName/methodName",
category=CLOUD,
headersClass=Olingo4Constants.class)
public class Olingo4Endpoint
extends org.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,Olingo4Configuration>
Communicate with OData 4.0 services using Apache Olingo OData API.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class org.apache.camel.support.component.AbstractApiEndpoint
apiName, inBody, log, methodHelper, methodName
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
ConstructorsConstructorDescriptionOlingo4Endpoint
(String uri, Olingo4Component component, Olingo4ApiName apiName, String methodName, Olingo4Configuration endpointConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
configureProperties
(Map<String, Object> options) org.apache.camel.Consumer
createConsumer
(org.apache.camel.Processor processor) org.apache.camel.Producer
protected void
doStart()
protected void
doStop()
getApiProxy
(org.apache.camel.support.component.ApiMethod method, Map<String, Object> args) protected org.apache.camel.support.component.ApiMethodPropertiesHelper<Olingo4Configuration>
protected String
void
interceptProperties
(Map<String, Object> properties) void
interceptPropertyNames
(Set<String> propertyNames) Methods inherited from class org.apache.camel.support.component.AbstractApiEndpoint
configureConsumer, getApiName, getCandidates, getConfiguration, getConfigurationProperties, getConfigurationPropertyNames, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, setInBody
Methods inherited from class org.apache.camel.support.ScheduledPollEndpoint
configureScheduledPollConsumerProperties, doConfigureConsumer, 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
configureExchange, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, 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
Methods inherited from interface org.apache.camel.ComponentAware
getComponent, setComponent
Methods inherited from interface org.apache.camel.Endpoint
configureExchange, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContext
Methods inherited from interface org.apache.camel.IsSingleton
isSingleton
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Field Details
-
RESOURCE_PATH_PROPERTY
- See Also:
-
RESPONSE_HANDLER_PROPERTY
- See Also:
-
SERVICE_URI_PROPERTY
- See Also:
-
FILTER_ALREADY_SEEN
- See Also:
-
-
Constructor Details
-
Olingo4Endpoint
public Olingo4Endpoint(String uri, Olingo4Component component, Olingo4ApiName apiName, String methodName, Olingo4Configuration endpointConfiguration)
-
-
Method Details
-
createProducer
- Throws:
Exception
-
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception - Throws:
Exception
-
getPropertiesHelper
protected org.apache.camel.support.component.ApiMethodPropertiesHelper<Olingo4Configuration> getPropertiesHelper()- Specified by:
getPropertiesHelper
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-
getThreadProfileName
- Specified by:
getThreadProfileName
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-
configureProperties
- Specified by:
configureProperties
in interfaceorg.apache.camel.Endpoint
- Overrides:
configureProperties
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-
afterConfigureProperties
protected void afterConfigureProperties()- Specified by:
afterConfigureProperties
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-
getApiProxy
public Object getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String, Object> args) - Specified by:
getApiProxy
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-
getComponent
- Specified by:
getComponent
in interfaceorg.apache.camel.ComponentAware
- Overrides:
getComponent
in classorg.apache.camel.support.DefaultEndpoint
-
doStart
- Overrides:
doStart
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
doStop
- Overrides:
doStop
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
interceptPropertyNames
- Specified by:
interceptPropertyNames
in interfaceorg.apache.camel.support.component.PropertyNamesInterceptor
- Overrides:
interceptPropertyNames
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-
interceptProperties
- Specified by:
interceptProperties
in interfaceorg.apache.camel.support.component.PropertiesInterceptor
- Overrides:
interceptProperties
in classorg.apache.camel.support.component.AbstractApiEndpoint<Olingo4ApiName,
Olingo4Configuration>
-