public final class ConsulClusterService
extends org.apache.camel.support.cluster.AbstractCamelClusterService<org.apache.camel.component.consul.cluster.ConsulClusterView>
Constructor and Description |
---|
ConsulClusterService() |
ConsulClusterService(ConsulClusterConfiguration configuration) |
doStart, doStop, getAttributes, getCamelContext, getId, getNamespaces, getOrder, getView, isLeader, releaseView, setAttribute, setAttributes, setCamelContext, setId, setOrder, startView, stopView
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ConsulClusterService()
public ConsulClusterService(ConsulClusterConfiguration configuration)
public ConsulClusterConfiguration getConfiguration()
public void setConfiguration(ConsulClusterConfiguration configuration)
public String getUrl()
public void setUrl(String url)
public String getDatacenter()
public void setDatacenter(String datacenter)
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
public String getAclToken()
public void setAclToken(String aclToken)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public Long getConnectTimeoutMillis()
public void setConnectTimeoutMillis(Long connectTimeoutMillis)
public Long getReadTimeoutMillis()
public void setReadTimeoutMillis(Long readTimeoutMillis)
public Long getWriteTimeoutMillis()
public void setWriteTimeoutMillis(Long writeTimeoutMillis)
public Integer getBlockSeconds()
public void setBlockSeconds(Integer blockSeconds)
public int getTtl()
public void setTtl(int ttl)
public int getLockDelay()
public void setLockDelay(int lockDelay)
public String getRootPath()
public void setRootPath(String rootPath)
protected org.apache.camel.component.consul.cluster.ConsulClusterView createView(String namespace) throws Exception
createView
in class org.apache.camel.support.cluster.AbstractCamelClusterService<org.apache.camel.component.consul.cluster.ConsulClusterView>
Exception
Apache Camel