@UriParams public class ElasticsearchConfiguration extends Object
Constructor and Description |
---|
ElasticsearchConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
Name of the cluster
|
int |
getConnectionTimeout()
The time in ms to wait before connection will timeout.
|
Boolean |
getDisconnect()
Disconnect after it finish calling the producer
|
Boolean |
getEnableSniffer()
Enable automatically discover nodes from a running Elasticsearch cluster
|
Boolean |
getEnableSSL()
Enable SSL
|
String |
getHostAddresses()
Comma separated list with ip:port formatted remote transport addresses to use.
|
List<org.apache.http.HttpHost> |
getHostAddressesList() |
String |
getIndexName()
The name of the index to act against
|
String |
getIndexType()
The type of the index to act against
|
int |
getMaxRetryTimeout()
The time in ms before retry
|
ElasticsearchOperation |
getOperation()
What operation to perform
|
String |
getPassword()
Password for authenticate
|
int |
getSniffAfterFailureDelay()
The delay of a sniff execution scheduled after a failure (in milliseconds)
|
int |
getSnifferInterval()
The interval between consecutive ordinary sniff executions in milliseconds.
|
int |
getSocketTimeout()
The timeout in ms to wait before the socket will timeout.
|
String |
getUser()
Basic authenticate user
|
int |
getWaitForActiveShards()
Index creation waits for the write consistency number of shards to be available
|
void |
setClusterName(String clusterName) |
void |
setConnectionTimeout(int connectionTimeout) |
void |
setDisconnect(Boolean disconnect) |
void |
setEnableSniffer(Boolean enableSniffer) |
void |
setEnableSSL(Boolean enableSSL) |
void |
setHostAddresses(String hostAddresses) |
void |
setHostAddressesList(List<org.apache.http.HttpHost> hostAddressesList) |
void |
setIndexName(String indexName) |
void |
setIndexType(String indexType) |
void |
setMaxRetryTimeout(int maxRetryTimeout) |
void |
setOperation(ElasticsearchOperation operation) |
void |
setPassword(String password) |
void |
setSniffAfterFailureDelay(int sniffAfterFailureDelay) |
void |
setSnifferInterval(int snifferInterval) |
void |
setSocketTimeout(int socketTimeout) |
void |
setUser(String user) |
void |
setWaitForActiveShards(int waitForActiveShards) |
public String getClusterName()
public void setClusterName(String clusterName)
public ElasticsearchOperation getOperation()
public void setOperation(ElasticsearchOperation operation)
public String getIndexName()
public void setIndexName(String indexName)
public String getIndexType()
public void setIndexType(String indexType)
public String getHostAddresses()
public void setHostAddresses(String hostAddresses)
public int getWaitForActiveShards()
public void setWaitForActiveShards(int waitForActiveShards)
public List<org.apache.http.HttpHost> getHostAddressesList()
public void setHostAddressesList(List<org.apache.http.HttpHost> hostAddressesList)
public int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public Boolean getEnableSSL()
public void setEnableSSL(Boolean enableSSL)
public int getMaxRetryTimeout()
public void setMaxRetryTimeout(int maxRetryTimeout)
public Boolean getDisconnect()
public void setDisconnect(Boolean disconnect)
public Boolean getEnableSniffer()
public void setEnableSniffer(Boolean enableSniffer)
public int getSnifferInterval()
public void setSnifferInterval(int snifferInterval)
public int getSniffAfterFailureDelay()
public void setSniffAfterFailureDelay(int sniffAfterFailureDelay)
Apache Camel