Class EtcdConfiguration

  • All Implemented Interfaces:
    Cloneable, org.apache.camel.CamelContextAware

    @UriParams
    public class EtcdConfiguration
    extends Object
    implements org.apache.camel.CamelContextAware, Cloneable
    • Constructor Detail

      • EtcdConfiguration

        public EtcdConfiguration()
      • EtcdConfiguration

        public EtcdConfiguration​(org.apache.camel.CamelContext camelContext)
    • Method Detail

      • setCamelContext

        public void setCamelContext​(org.apache.camel.CamelContext context)
        Specified by:
        setCamelContext in interface org.apache.camel.CamelContextAware
      • getCamelContext

        public org.apache.camel.CamelContext getCamelContext()
        Specified by:
        getCamelContext in interface org.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
      • createClient

        public mousio.etcd4j.EtcdClient createClient()
                                              throws Exception
        Throws:
        Exception