Interface ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.elasticsearch.ElasticsearchComponent>
- All Known Implementing Classes:
ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderImpl
- Enclosing interface:
- ElasticsearchRestComponentBuilderFactory
public static interface ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder extends ComponentBuilder<org.apache.camel.component.elasticsearch.ElasticsearchComponent>
Builder for the Elasticsearch Rest component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderbasicPropertyBinding(boolean basicPropertyBinding)Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderclient(org.elasticsearch.client.RestClient client)To use an existing configured Elasticsearch client, instead of creating a client per endpoint.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderconnectionTimeout(int connectionTimeout)The time in ms to wait before connection will timeout.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderenableSniffer(Boolean enableSniffer)Enable automatically discover nodes from a running Elasticsearch cluster.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderenableSSL(Boolean enableSSL)Enable SSL.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderhostAddresses(String hostAddresses)Comma separated list with ip:port formatted remote transport addresses to use.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderlazyStartProducer(boolean lazyStartProducer)Whether the producer should be started lazy (on the first message).default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuildermaxRetryTimeout(int maxRetryTimeout)The time in ms before retry.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderpassword(String password)Password for authenticate.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuildersniffAfterFailureDelay(int sniffAfterFailureDelay)The delay of a sniff execution scheduled after a failure (in milliseconds).default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuildersnifferInterval(int snifferInterval)The interval between consecutive ordinary sniff executions in milliseconds.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuildersocketTimeout(int socketTimeout)The timeout in ms to wait before the socket will timeout.default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilderuser(String user)Basic authenticate user.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
lazyStartProducer
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder 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:booleantype. Default: false Group: producer
-
basicPropertyBinding
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:booleantype. Default: false Group: advanced
-
client
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder client(org.elasticsearch.client.RestClient client)
To use an existing configured Elasticsearch client, instead of creating a client per endpoint. This allow to customize the client with specific settings. The option is a:org.elasticsearch.client.RestClienttype. Group: advanced
-
connectionTimeout
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder connectionTimeout(int connectionTimeout)
The time in ms to wait before connection will timeout. The option is a:inttype. Default: 30000 Group: advanced
-
enableSniffer
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder enableSniffer(Boolean enableSniffer)
Enable automatically discover nodes from a running Elasticsearch cluster. The option is a:java.lang.Booleantype. Default: false Group: advanced
-
hostAddresses
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder hostAddresses(String hostAddresses)
Comma separated list with ip:port formatted remote transport addresses to use. The ip and port options must be left blank for hostAddresses to be considered instead. The option is a:java.lang.Stringtype. Group: advanced
-
maxRetryTimeout
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder maxRetryTimeout(int maxRetryTimeout)
The time in ms before retry. The option is a:inttype. Default: 30000 Group: advanced
-
sniffAfterFailureDelay
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder sniffAfterFailureDelay(int sniffAfterFailureDelay)
The delay of a sniff execution scheduled after a failure (in milliseconds). The option is a:inttype. Default: 60000 Group: advanced
-
snifferInterval
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder snifferInterval(int snifferInterval)
The interval between consecutive ordinary sniff executions in milliseconds. Will be honoured when sniffOnFailure is disabled or when there are no failures between consecutive sniff executions. The option is a:inttype. Default: 300000 Group: advanced
-
socketTimeout
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder socketTimeout(int socketTimeout)
The timeout in ms to wait before the socket will timeout. The option is a:inttype. Default: 30000 Group: advanced
-
enableSSL
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder enableSSL(Boolean enableSSL)
Enable SSL. The option is a:java.lang.Booleantype. Default: false Group: security
-
password
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder password(String password)
Password for authenticate. The option is a:java.lang.Stringtype. Group: security
-
user
default ElasticsearchRestComponentBuilderFactory.ElasticsearchRestComponentBuilder user(String user)
Basic authenticate user. The option is a:java.lang.Stringtype. Group: security
-
-