@Component(value="consul")
public class ConsulComponent
extends org.apache.camel.support.DefaultComponent
implements org.apache.camel.SSLContextParametersAware
| 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.support.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.support.jsse.SSLContextParameters sslContextParameters)
SSL configuration using an
org.apache.camel.support.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, createEndpoint, createEndpoint, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doBuild, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrieveGlobalSslContextParameterspublic 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.support.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic String getAclToken()
public void setAclToken(String aclToken)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public ConsulConfiguration getConfiguration()
public void setConfiguration(ConsulConfiguration configuration)
Apache Camel