public class ConsulServiceRegistry
extends org.apache.camel.impl.cloud.AbstractServiceRegistry
Constructor and Description |
---|
ConsulServiceRegistry() |
ConsulServiceRegistry(ConsulServiceRegistryConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
deregister(org.apache.camel.cloud.ServiceDefinition definition) |
protected void |
doStart() |
protected void |
doStop() |
String |
getAclToken() |
Integer |
getBlockSeconds() |
int |
getCheckInterval() |
int |
getCheckTtl() |
ConsulServiceRegistryConfiguration |
getConfiguration() |
Long |
getConnectTimeoutMillis() |
String |
getDatacenter() |
int |
getDeregisterAfter() |
String |
getPassword() |
Long |
getReadTimeoutMillis() |
String |
getServiceHost() |
org.apache.camel.support.jsse.SSLContextParameters |
getSslContextParameters() |
String |
getUrl() |
String |
getUserName() |
Long |
getWriteTimeoutMillis() |
boolean |
isDeregisterServicesOnStop() |
boolean |
isOverrideServiceHost() |
void |
register(org.apache.camel.cloud.ServiceDefinition definition) |
void |
setAclToken(String aclToken) |
void |
setBlockSeconds(Integer blockSeconds) |
void |
setCheckInterval(int checkInterval) |
void |
setCheckTtl(int checkTtl) |
void |
setConfiguration(ConsulServiceRegistryConfiguration configuration) |
void |
setConnectTimeoutMillis(Long connectTimeoutMillis) |
void |
setDatacenter(String datacenter) |
void |
setDeregisterAfter(int deregisterAfter) |
void |
setDeregisterServicesOnStop(boolean deregisterServicesOnStop) |
void |
setOverrideServiceHost(boolean overrideServiceHost) |
void |
setPassword(String password) |
void |
setReadTimeoutMillis(Long readTimeoutMillis) |
void |
setServiceHost(String serviceHost) |
void |
setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) |
void |
setUrl(String url) |
void |
setUserName(String userName) |
void |
setWriteTimeoutMillis(Long writeTimeoutMillis) |
getAttributes, getCamelContext, getId, getOrder, setAttribute, setAttributes, setCamelContext, setId, setOrder
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 ConsulServiceRegistry()
public ConsulServiceRegistry(ConsulServiceRegistryConfiguration configuration)
public ConsulServiceRegistryConfiguration getConfiguration()
public void setConfiguration(ConsulServiceRegistryConfiguration 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 boolean isOverrideServiceHost()
public void setOverrideServiceHost(boolean overrideServiceHost)
public String getServiceHost()
public void setServiceHost(String serviceHost)
public int getCheckTtl()
public void setCheckTtl(int checkTtl)
public int getCheckInterval()
public void setCheckInterval(int checkInterval)
public int getDeregisterAfter()
public void setDeregisterAfter(int deregisterAfter)
public boolean isDeregisterServicesOnStop()
public void setDeregisterServicesOnStop(boolean deregisterServicesOnStop)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.BaseService
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.service.BaseService
Exception
public void register(org.apache.camel.cloud.ServiceDefinition definition)
public void deregister(org.apache.camel.cloud.ServiceDefinition definition)
Apache Camel