Olingo2

Olingo2

Scheme: olingo2
Syntax: olingo2:apiName/methodName
Description: Communicates with OData 2.0 and 3.0 services using Apache Olingo.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-olingo2/2.18.1.redhat-000026

Communicates with OData 2.0 and 3.0 services using Apache Olingo.

Name Kind Group Required Default Type Enum Description
apiName path common true org.apache.camel.component.olingo2.internal.Olingo2ApiName DEFAULT What kind of operation to perform
methodName path common true java.lang.String What sub operation to use for the selected operation
connectTimeout parameter common 30000 int HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds)
contentType parameter common application/json;charset=utf-8 java.lang.String Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8
httpAsyncClientBuilder parameter common org.apache.http.impl.nio.client.HttpAsyncClientBuilder Custom HTTP async client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext. Note that a socketTimeout MUST be specified in the builder, otherwise OData requests could block indefinitely
httpClientBuilder parameter common org.apache.http.impl.client.HttpClientBuilder Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext. Note that a socketTimeout MUST be specified in the builder, otherwise OData requests could block indefinitely
httpHeaders parameter common java.util.Map Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.
inBody parameter common java.lang.String Sets the name of a parameter to be passed in the exchange In Body
proxy parameter common org.apache.http.HttpHost HTTP proxy server configuration
serviceUri parameter common java.lang.String Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc
socketTimeout parameter common 30000 int HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds)
sslContextParameters parameter common org.apache.camel.util.jsse.SSLContextParameters To configure security using SSLContextParameters
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

olingo2 consumer

The Olingo2 consumer.