Package org.apache.camel.component.etcd
Class EtcdConfiguration
- java.lang.Object
-
- org.apache.camel.component.etcd.EtcdConfiguration
-
-
Constructor Summary
Constructors Constructor Description EtcdConfiguration()
EtcdConfiguration(org.apache.camel.CamelContext camelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EtcdConfiguration
copy()
mousio.etcd4j.EtcdClient
createClient()
org.apache.camel.CamelContext
getCamelContext()
long
getFromIndex()
String
getPassword()
String
getServicePath()
org.apache.camel.support.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 fromvoid
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 discoveryvoid
setSslContextParameters(org.apache.camel.support.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.
-
-
-
Method Detail
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext context)
- Specified by:
setCamelContext
in interfaceorg.apache.camel.CamelContextAware
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContext
in interfaceorg.apache.camel.CamelContextAware
-
getUris
public String getUris()
-
setUris
public void setUris(String uris)
To set the URIs the client connects.
-
getSslContextParameters
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
-
setSslContextParameters
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
-
getUserName
public String getUserName()
-
setUserName
public void setUserName(String userName)
The user name to use for basic authentication.
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
The password to use for basic authentication.
-
isSendEmptyExchangeOnTimeout
public boolean isSendEmptyExchangeOnTimeout()
-
setSendEmptyExchangeOnTimeout
public void setSendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key.
-
isRecursive
public boolean isRecursive()
-
setRecursive
public void setRecursive(boolean recursive)
To apply an action recursively.
-
getTimeToLive
public Integer getTimeToLive()
-
setTimeToLive
public void setTimeToLive(Integer timeToLive)
To set the lifespan of a key in milliseconds.
-
getTimeout
public Long getTimeout()
-
hasTimeout
public boolean hasTimeout()
-
setTimeout
public void setTimeout(Long timeout)
To set the maximum time an action could take to complete.
-
getFromIndex
public long getFromIndex()
-
setFromIndex
public void setFromIndex(long fromIndex)
The index to watch from
-
getServicePath
public String getServicePath()
-
setServicePath
public void setServicePath(String servicePath)
The path to look for for service discovery
-
copy
public EtcdConfiguration copy()
-
-