Constructor and Description |
---|
EtcdConfiguration() |
EtcdConfiguration(org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
EtcdConfiguration |
copy() |
mousio.etcd4j.EtcdClient |
createClient() |
org.apache.camel.CamelContext |
getCamelContext() |
Long |
getFromIndex() |
String |
getPassword() |
String |
getServicePath() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
Long |
getTimeout() |
Integer |
getTimeToLive() |
String |
getUris() |
String |
getUserName() |
boolean |
hasTimeout() |
boolean |
isRecursive() |
boolean |
isSendEmptyExchangeOnTimeout() |
void |
setCamelContext(org.apache.camel.CamelContext context) |
void |
setFromIndex(Long fromIndex)
The index to watch from
|
void |
setPassword(String password)
The password to use for basic authentication.
|
void |
setRecursive(boolean recursive)
To apply an action recursively.
|
void |
setSendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key.
|
void |
setServicePath(String servicePath)
The path to look for for service discovery
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
void |
setTimeout(Long timeout)
To set the maximum time an action could take to complete.
|
void |
setTimeToLive(Integer timeToLive)
To set the lifespan of a key in milliseconds.
|
void |
setUris(String uris)
To set the URIs the client connects.
|
void |
setUserName(String userName)
The user name to use for basic authentication.
|
public EtcdConfiguration()
public EtcdConfiguration(org.apache.camel.CamelContext camelContext)
public void setCamelContext(org.apache.camel.CamelContext context)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public String getUris()
public void setUris(String uris)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public boolean isSendEmptyExchangeOnTimeout()
public void setSendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
public boolean isRecursive()
public void setRecursive(boolean recursive)
public Integer getTimeToLive()
public void setTimeToLive(Integer timeToLive)
public Long getTimeout()
public boolean hasTimeout()
public void setTimeout(Long timeout)
public Long getFromIndex()
public void setFromIndex(Long fromIndex)
public String getServicePath()
public void setServicePath(String servicePath)
public EtcdConfiguration copy()
Apache Camel