Interface ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
ElasticsearchRestClientEndpointBuilderFactory
public static interface ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Elasticsearch Low level Rest Client
component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilderenableSniffer(boolean enableSniffer) Enabling Sniffer.default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilderenableSniffer(String enableSniffer) Enabling Sniffer.default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilderlazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilderlazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message).default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilderrestClient(String restClient) Rest Client of type org.elasticsearch.client.RestClient.default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilderrestClient(org.elasticsearch.client.RestClient restClient) Rest Client of type org.elasticsearch.client.RestClient.default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuildersniffAfterFailureDelay(int sniffAfterFailureDelay) Sniffer after failure delay (in millis).default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuildersniffAfterFailureDelay(String sniffAfterFailureDelay) Sniffer after failure delay (in millis).default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuildersnifferInterval(int snifferInterval) Sniffer interval (in millis).default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuildersnifferInterval(String snifferInterval) Sniffer interval (in millis).Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
lazyStartProducer
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder 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 ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder 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
-
enableSniffer
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder enableSniffer(boolean enableSniffer) Enabling Sniffer. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
enableSniffer- the value to set- Returns:
- the dsl builder
-
enableSniffer
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder enableSniffer(String enableSniffer) Enabling Sniffer. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Parameters:
enableSniffer- the value to set- Returns:
- the dsl builder
-
restClient
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder restClient(org.elasticsearch.client.RestClient restClient) Rest Client of type org.elasticsearch.client.RestClient. This is only for advanced usage. The option is a: <code>org.elasticsearch.client.RestClient</code> type. Group: advanced- Parameters:
restClient- the value to set- Returns:
- the dsl builder
-
restClient
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder restClient(String restClient) Rest Client of type org.elasticsearch.client.RestClient. This is only for advanced usage. The option will be converted to a <code>org.elasticsearch.client.RestClient</code> type. Group: advanced- Parameters:
restClient- the value to set- Returns:
- the dsl builder
-
sniffAfterFailureDelay
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder sniffAfterFailureDelay(int sniffAfterFailureDelay) Sniffer after failure delay (in millis). The option is a: <code>int</code> type. Default: 60000 Group: advanced- Parameters:
sniffAfterFailureDelay- the value to set- Returns:
- the dsl builder
-
sniffAfterFailureDelay
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder sniffAfterFailureDelay(String sniffAfterFailureDelay) Sniffer after failure delay (in millis). The option will be converted to a <code>int</code> type. Default: 60000 Group: advanced- Parameters:
sniffAfterFailureDelay- the value to set- Returns:
- the dsl builder
-
snifferInterval
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder snifferInterval(int snifferInterval) Sniffer interval (in millis). The option is a: <code>int</code> type. Default: 60000 Group: advanced- Parameters:
snifferInterval- the value to set- Returns:
- the dsl builder
-
snifferInterval
default ElasticsearchRestClientEndpointBuilderFactory.AdvancedElasticsearchRestClientEndpointBuilder snifferInterval(String snifferInterval) Sniffer interval (in millis). The option will be converted to a <code>int</code> type. Default: 60000 Group: advanced- Parameters:
snifferInterval- the value to set- Returns:
- the dsl builder
-