camel-olingo2-kafka-connector sink configuration

Connector Description: Communicate with OData 2.0 services using Apache Olingo.

When using camel-olingo2-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-olingo2-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this sink connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.olingo2.CamelOlingo2SinkConnector

The camel-olingo2 sink connector supports 32 options, which are listed below.

Name Description Default Priority

camel.sink.path.apiName

Required What kind of operation to perform One of: [DEFAULT].

Enum values:

  • DEFAULT

HIGH

camel.sink.path.methodName

Required What sub operation to use for the selected operation.

HIGH

camel.sink.endpoint.connectTimeout

HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).

30000

MEDIUM

camel.sink.endpoint.contentType

Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.

"application/json;charset=utf-8"

MEDIUM

camel.sink.endpoint.entityProviderReadProperties

Custom entity provider read properties applied to all read operations.

MEDIUM

camel.sink.endpoint.entityProviderWriteProperties

Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here.

MEDIUM

camel.sink.endpoint.filterAlreadySeen

Set this to true to filter out results that have already been communicated by this component.

false

MEDIUM

camel.sink.endpoint.httpHeaders

Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.

MEDIUM

camel.sink.endpoint.inBody

Sets the name of a parameter to be passed in the exchange In Body.

MEDIUM

camel.sink.endpoint.proxy

HTTP proxy server configuration.

MEDIUM

camel.sink.endpoint.serviceUri

Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc.

MEDIUM

camel.sink.endpoint.socketTimeout

HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).

30000

MEDIUM

camel.sink.endpoint.lazyStartProducer

Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.

false

MEDIUM

camel.sink.endpoint.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.

MEDIUM

camel.sink.endpoint.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.

MEDIUM

camel.sink.endpoint.sslContextParameters

To configure security using SSLContextParameters.

MEDIUM

camel.component.olingo2.configuration

To use the shared configuration.

MEDIUM

camel.component.olingo2.connectTimeout

HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).

30000

MEDIUM

camel.component.olingo2.contentType

Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.

"application/json;charset=utf-8"

MEDIUM

camel.component.olingo2.entityProviderReadProperties

Custom entity provider read properties applied to all read operations.

MEDIUM

camel.component.olingo2.entityProviderWriteProperties

Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here.

MEDIUM

camel.component.olingo2.filterAlreadySeen

Set this to true to filter out results that have already been communicated by this component.

false

MEDIUM

camel.component.olingo2.httpHeaders

Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.

MEDIUM

camel.component.olingo2.proxy

HTTP proxy server configuration.

MEDIUM

camel.component.olingo2.serviceUri

Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc.

MEDIUM

camel.component.olingo2.socketTimeout

HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).

30000

MEDIUM

camel.component.olingo2.lazyStartProducer

Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.

false

MEDIUM

camel.component.olingo2.autowiredEnabled

Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.

true

MEDIUM

camel.component.olingo2.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.

MEDIUM

camel.component.olingo2.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.

MEDIUM

camel.component.olingo2.sslContextParameters

To configure security using SSLContextParameters.

MEDIUM

camel.component.olingo2.useGlobalSslContextParameters

Enable usage of global SSL context parameters.

false

MEDIUM

The camel-olingo2 sink connector has no converters out of the box.

The camel-olingo2 sink connector has no transforms out of the box.

The camel-olingo2 sink connector has no aggregation strategies out of the box.