Interface Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointBuilder
- Enclosing interface:
Olingo4EndpointBuilderFactory
public static interface Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Olingo4 component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
httpAsyncClientBuilder
(String httpAsyncClientBuilder) Custom HTTP async client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.httpAsyncClientBuilder
(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder) Custom HTTP async client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.httpClientBuilder
(String httpClientBuilder) Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.httpClientBuilder
(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder) Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer
(String lazyStartProducer) Whether the producer should be started lazy (on the first message).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
-
Method Details
-
basic
-
lazyStartProducer
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder 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:boolean
type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder 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 aboolean
type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
httpAsyncClientBuilder
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder httpAsyncClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder 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. The option is a:org.apache.http.impl.nio.client.HttpAsyncClientBuilder
type. Group: advanced- Parameters:
httpAsyncClientBuilder
- the value to set- Returns:
- the dsl builder
-
httpAsyncClientBuilder
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder httpAsyncClientBuilder(String 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. The option will be converted to aorg.apache.http.impl.nio.client.HttpAsyncClientBuilder
type. Group: advanced- Parameters:
httpAsyncClientBuilder
- the value to set- Returns:
- the dsl builder
-
httpClientBuilder
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder httpClientBuilder(org.apache.http.impl.client.HttpClientBuilder 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. The option is a:org.apache.http.impl.client.HttpClientBuilder
type. Group: advanced- Parameters:
httpClientBuilder
- the value to set- Returns:
- the dsl builder
-
httpClientBuilder
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder httpClientBuilder(String 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. The option will be converted to aorg.apache.http.impl.client.HttpClientBuilder
type. Group: advanced- Parameters:
httpClientBuilder
- the value to set- Returns:
- the dsl builder
-