public class ConsulComponent
extends org.apache.camel.impl.DefaultComponent
implements org.apache.camel.SSLContextParametersAware
ConsulEndpoint
.Constructor and Description |
---|
ConsulComponent() |
ConsulComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
String |
getAclToken() |
ConsulConfiguration |
getConfiguration() |
String |
getDatacenter() |
String |
getPassword() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
String |
getUrl() |
String |
getUserName() |
boolean |
isUseGlobalSslContextParameters() |
void |
setAclToken(String aclToken)
Sets the ACL token to be used with Consul
|
void |
setConfiguration(ConsulConfiguration configuration)
Sets the common configuration shared among endpoints
|
void |
setDatacenter(String datacenter)
The data center
|
void |
setPassword(String password)
Sets the password to be used for basic authentication
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
SSL configuration using an org.apache.camel.util.jsse.SSLContextParameters
instance.
|
void |
setUrl(String url)
The Consul agent URL
|
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
void |
setUserName(String userName)
Sets the username to be used for basic authentication
|
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ConsulComponent()
public ConsulComponent(org.apache.camel.CamelContext context)
public String getUrl()
public void setUrl(String url)
public String getDatacenter()
public void setDatacenter(String datacenter)
datacenter
- public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
sslContextParameters
- public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public String getAclToken()
public void setAclToken(String aclToken)
aclToken
- public String getUserName()
public void setUserName(String userName)
userName
- public String getPassword()
public void setPassword(String password)
password
- public ConsulConfiguration getConfiguration()
public void setConfiguration(ConsulConfiguration configuration)
Apache Camel