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
All Methods Instance Methods Default Methods Modifier and Type Method Description default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder
basic()
default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
httpAsyncClientBuilder(String httpAsyncClientBuilder)
Custom HTTP async client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.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.default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
httpClientBuilder(String httpClientBuilder)
Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.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.default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Olingo4EndpointBuilderFactory.AdvancedOlingo4EndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
-
-
-
Method Detail
-
basic
default Olingo4EndpointBuilderFactory.Olingo4EndpointProducerBuilder 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: <code>boolean</code> 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 a <code>boolean</code> 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: <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> 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 a <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> 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: <code>org.apache.http.impl.client.HttpClientBuilder</code> 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 a <code>org.apache.http.impl.client.HttpClientBuilder</code> type. Group: advanced- Parameters:
httpClientBuilder
- the value to set- Returns:
- the dsl builder
-
-