Interface Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,Olingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
,Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Enclosing interface:
- Olingo2EndpointBuilderFactory
public static interface Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder
extends Olingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder, Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
Builder for endpoint for the Olingo2 component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
connectTimeout
(int connectTimeout) HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).connectTimeout
(String connectTimeout) HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).contentType
(String contentType) Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.entityProviderReadProperties
(String entityProviderReadProperties) Custom entity provider read properties applied to all read operations.entityProviderReadProperties
(org.apache.olingo.odata2.api.ep.EntityProviderReadProperties entityProviderReadProperties) Custom entity provider read properties applied to all read operations.entityProviderWriteProperties
(String entityProviderWriteProperties) Custom entity provider write properties applied to create, update, patch, batch and merge operations.entityProviderWriteProperties
(org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties entityProviderWriteProperties) Custom entity provider write properties applied to create, update, patch, batch and merge operations.filterAlreadySeen
(boolean filterAlreadySeen) Set this to true to filter out results that have already been communicated by this component.filterAlreadySeen
(String filterAlreadySeen) Set this to true to filter out results that have already been communicated by this component.httpHeaders
(String httpHeaders) Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.httpHeaders
(Map<String, String> httpHeaders) Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.Sets the name of a parameter to be passed in the exchange In Body.HTTP proxy server configuration.proxy
(org.apache.http.HttpHost proxy) HTTP proxy server configuration.serviceUri
(String serviceUri) Target OData service base URI, e.g.socketTimeout
(int socketTimeout) HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).socketTimeout
(String socketTimeout) HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).sslContextParameters
(String sslContextParameters) To configure security using SSLContextParameters.sslContextParameters
(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Olingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, delay, delay, greedy, greedy, initialDelay, initialDelay, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, splitResult, splitResult, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
advanced
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
-
connectTimeout
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Specified by:
connectTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
connectTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
connectTimeout
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds). The option will be converted to a <code>int</code> type. Default: 30000 Group: common- Specified by:
connectTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
connectTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
contentType
Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8. The option is a: <code>java.lang.String</code> type. Default: application/json;charset=utf-8 Group: common- Specified by:
contentType
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
contentType
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
contentType
- the value to set- Returns:
- the dsl builder
-
entityProviderReadProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder entityProviderReadProperties(org.apache.olingo.odata2.api.ep.EntityProviderReadProperties entityProviderReadProperties) Custom entity provider read properties applied to all read operations. The option is a: <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. Group: common- Specified by:
entityProviderReadProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
entityProviderReadProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
entityProviderReadProperties
- the value to set- Returns:
- the dsl builder
-
entityProviderReadProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder entityProviderReadProperties(String entityProviderReadProperties) Custom entity provider read properties applied to all read operations. The option will be converted to a <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. Group: common- Specified by:
entityProviderReadProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
entityProviderReadProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
entityProviderReadProperties
- the value to set- Returns:
- the dsl builder
-
entityProviderWriteProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder entityProviderWriteProperties(org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties 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. The option is a: <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. Group: common- Specified by:
entityProviderWriteProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
entityProviderWriteProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
entityProviderWriteProperties
- the value to set- Returns:
- the dsl builder
-
entityProviderWriteProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder entityProviderWriteProperties(String 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. The option will be converted to a <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. Group: common- Specified by:
entityProviderWriteProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
entityProviderWriteProperties
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
entityProviderWriteProperties
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder filterAlreadySeen(boolean filterAlreadySeen) Set this to true to filter out results that have already been communicated by this component. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
filterAlreadySeen
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
filterAlreadySeen
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder filterAlreadySeen(String filterAlreadySeen) Set this to true to filter out results that have already been communicated by this component. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
filterAlreadySeen
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
filterAlreadySeen
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
httpHeaders
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder httpHeaders(Map<String, String> httpHeaders) Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Specified by:
httpHeaders
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
httpHeaders
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
httpHeaders
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Specified by:
httpHeaders
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
httpHeaders
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
inBody
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
inBody
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
inBody
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
proxy
HTTP proxy server configuration. The option is a: <code>org.apache.http.HttpHost</code> type. Group: common- Specified by:
proxy
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
proxy
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
proxy
HTTP proxy server configuration. The option will be converted to a <code>org.apache.http.HttpHost</code> type. Group: common- Specified by:
proxy
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
proxy
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
serviceUri
Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
serviceUri
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
serviceUri
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
serviceUri
- the value to set- Returns:
- the dsl builder
-
socketTimeout
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Specified by:
socketTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
socketTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
socketTimeout
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option will be converted to a <code>int</code> type. Default: 30000 Group: common- Specified by:
socketTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
socketTimeout
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParameters
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
sslContextParameters
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder sslContextParameters(String sslContextParameters) To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParameters
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointConsumerBuilder
- Specified by:
sslContextParameters
in interfaceOlingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-