Interface ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- ElasticsearchEndpointBuilderFactory
public static interface ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Elasticsearch Rest component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default ElasticsearchEndpointBuilderFactory.AdvancedElasticsearchEndpointBuilder advanced()
-
connectionTimeout
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder connectionTimeout(int connectionTimeout)
The time in ms to wait before connection will timeout. The option is a:int
type. Default: 30000 Group: producer
-
connectionTimeout
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder connectionTimeout(String connectionTimeout)
The time in ms to wait before connection will timeout. The option will be converted to aint
type. Default: 30000 Group: producer
-
disconnect
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder disconnect(boolean disconnect)
Disconnect after it finish calling the producer. The option is a:boolean
type. Default: false Group: producer
-
disconnect
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder disconnect(String disconnect)
Disconnect after it finish calling the producer. The option will be converted to aboolean
type. Default: false Group: producer
-
enableSniffer
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder enableSniffer(boolean enableSniffer)
Enable automatically discover nodes from a running Elasticsearch cluster. The option is a:boolean
type. Default: false Group: producer
-
enableSniffer
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder enableSniffer(String enableSniffer)
Enable automatically discover nodes from a running Elasticsearch cluster. The option will be converted to aboolean
type. Default: false Group: producer
-
enableSSL
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder enableSSL(boolean enableSSL)
Enable SSL. The option is a:boolean
type. Default: false Group: producer
-
enableSSL
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder enableSSL(String enableSSL)
Enable SSL. The option will be converted to aboolean
type. Default: false Group: producer
-
from
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder from(Integer from)
Starting index of the response. The option is a:java.lang.Integer
type. Group: producer
-
from
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder from(String from)
Starting index of the response. The option will be converted to ajava.lang.Integer
type. Group: producer
-
hostAddresses
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder hostAddresses(String hostAddresses)
Comma separated list with ip:port formatted remote transport addresses to use. The option is a:java.lang.String
type. Required: true Group: producer
-
indexName
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder indexName(String indexName)
The name of the index to act against. The option is a:java.lang.String
type. Group: producer
-
lazyStartProducer
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder 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
-
lazyStartProducer
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder 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
-
maxRetryTimeout
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder maxRetryTimeout(int maxRetryTimeout)
The time in ms before retry. The option is a:int
type. Default: 30000 Group: producer
-
maxRetryTimeout
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder maxRetryTimeout(String maxRetryTimeout)
The time in ms before retry. The option will be converted to aint
type. Default: 30000 Group: producer
-
operation
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder operation(ElasticsearchEndpointBuilderFactory.ElasticsearchOperation operation)
What operation to perform. The option is a:org.apache.camel.component.elasticsearch.ElasticsearchOperation
type. Group: producer
-
operation
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder operation(String operation)
What operation to perform. The option will be converted to aorg.apache.camel.component.elasticsearch.ElasticsearchOperation
type. Group: producer
-
scrollKeepAliveMs
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder scrollKeepAliveMs(int scrollKeepAliveMs)
Time in ms during which elasticsearch will keep search context alive. The option is a:int
type. Default: 60000 Group: producer
-
scrollKeepAliveMs
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder scrollKeepAliveMs(String scrollKeepAliveMs)
Time in ms during which elasticsearch will keep search context alive. The option will be converted to aint
type. Default: 60000 Group: producer
-
size
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder size(Integer size)
Size of the response. The option is a:java.lang.Integer
type. Group: producer
-
size
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder size(String size)
Size of the response. The option will be converted to ajava.lang.Integer
type. Group: producer
-
sniffAfterFailureDelay
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder sniffAfterFailureDelay(int sniffAfterFailureDelay)
The delay of a sniff execution scheduled after a failure (in milliseconds). The option is a:int
type. Default: 60000 Group: producer
-
sniffAfterFailureDelay
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder sniffAfterFailureDelay(String sniffAfterFailureDelay)
The delay of a sniff execution scheduled after a failure (in milliseconds). The option will be converted to aint
type. Default: 60000 Group: producer
-
snifferInterval
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder 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:int
type. Default: 300000 Group: producer
-
snifferInterval
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder snifferInterval(String 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 will be converted to aint
type. Default: 300000 Group: producer
-
socketTimeout
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder socketTimeout(int socketTimeout)
The timeout in ms to wait before the socket will timeout. The option is a:int
type. Default: 30000 Group: producer
-
socketTimeout
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder socketTimeout(String socketTimeout)
The timeout in ms to wait before the socket will timeout. The option will be converted to aint
type. Default: 30000 Group: producer
-
useScroll
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder useScroll(boolean useScroll)
Enable scroll usage. The option is a:boolean
type. Default: false Group: producer
-
useScroll
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder useScroll(String useScroll)
Enable scroll usage. The option will be converted to aboolean
type. Default: false Group: producer
-
waitForActiveShards
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder waitForActiveShards(int waitForActiveShards)
Index creation waits for the write consistency number of shards to be available. The option is a:int
type. Default: 1 Group: producer
-
waitForActiveShards
default ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder waitForActiveShards(String waitForActiveShards)
Index creation waits for the write consistency number of shards to be available. The option will be converted to aint
type. Default: 1 Group: producer
-
-