Interface Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Olingo4EndpointBuilderFactory.Olingo4EndpointBuilder
- Enclosing interface:
- Olingo4EndpointBuilderFactory
public static interface Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Olingo4 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
advanced()
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
connectTimeout(int connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
connectTimeout(String connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
contentType(String contentType)
Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
filterAlreadySeen(boolean filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
filterAlreadySeen(String filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
httpHeaders(String httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
httpHeaders(Map<String,String> httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
proxy(Object proxy)
HTTP proxy server configuration.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
proxy(String proxy)
HTTP proxy server configuration.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
serviceUri(String serviceUri)
Target OData service base URI, e.g.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
socketTimeout(String socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
sslContextParameters(Object sslContextParameters)
To configure security using SSLContextParameters.default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.
-
-
-
Method Detail
-
advanced
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder advanced()
-
connectTimeout
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder connectTimeout(int 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- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
connectTimeout
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder connectTimeout(String 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- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
contentType
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder contentType(String 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- Parameters:
contentType
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder 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- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder 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- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
httpHeaders
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder 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- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
httpHeaders
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder httpHeaders(String 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- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
inBody
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder inBody(String 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- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
proxy
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder proxy(Object proxy)
HTTP proxy server configuration. The option is a: <code>org.apache.http.HttpHost</code> type. Group: common- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
proxy
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder proxy(String proxy)
HTTP proxy server configuration. The option will be converted to a <code>org.apache.http.HttpHost</code> type. Group: common- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
serviceUri
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder serviceUri(String 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- Parameters:
serviceUri
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder socketTimeout(String 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- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder lazyStartProducer(boolean 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. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder lazyStartProducer(String 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. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder sslContextParameters(Object sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder 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- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
-