Package org.apache.camel.model.cloud
Class EtcdServiceCallServiceDiscoveryConfiguration
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.cloud.ServiceCallConfiguration
-
- org.apache.camel.model.cloud.ServiceCallServiceDiscoveryConfiguration
-
- org.apache.camel.model.cloud.EtcdServiceCallServiceDiscoveryConfiguration
-
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceDiscoveryFactory
,org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>
@Metadata(label="routing,cloud,service-discovery") @Configurer(extended=true) public class EtcdServiceCallServiceDiscoveryConfiguration extends ServiceCallServiceDiscoveryConfiguration
-
-
Field Summary
-
Fields inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
properties
-
-
Constructor Summary
Constructors Constructor Description EtcdServiceCallServiceDiscoveryConfiguration()
EtcdServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPassword()
String
getServicePath()
org.apache.camel.support.jsse.SSLContextParameters
getSslContextParameters()
String
getTimeout()
String
getType()
String
getUris()
String
getUserName()
EtcdServiceCallServiceDiscoveryConfiguration
password(String password)
The password to use for basic authentication.EtcdServiceCallServiceDiscoveryConfiguration
servicePath(String servicePath)
The path to look for for service discoveryvoid
setPassword(String password)
The password to use for basic authentication.void
setServicePath(String servicePath)
The path to look for for service discoveryvoid
setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.void
setTimeout(String timeout)
To set the maximum time an action could take to complete.void
setType(String type)
To set the discovery type, valid values are on-demand and watch.void
setUris(String uris)
The URIs the client can connect to.void
setUserName(String userName)
The user name to use for basic authentication.EtcdServiceCallServiceDiscoveryConfiguration
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.EtcdServiceCallServiceDiscoveryConfiguration
timeout(Long timeout)
To set the maximum time an action could take to complete.EtcdServiceCallServiceDiscoveryConfiguration
timeout(String timeout)
To set the maximum time an action could take to complete.EtcdServiceCallServiceDiscoveryConfiguration
type(String type)
To set the discovery type, valid values are on-demand and watch.EtcdServiceCallServiceDiscoveryConfiguration
uris(String uris)
The URIs the client can connect to.EtcdServiceCallServiceDiscoveryConfiguration
userName(String userName)
The user name to use for basic authentication.-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallServiceDiscoveryConfiguration
end, endParent, newInstance, property
-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
getConfiguredOptions, getProperties, getPropertiesAsMap, postProcessFactoryParameters, setProperties
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Constructor Detail
-
EtcdServiceCallServiceDiscoveryConfiguration
public EtcdServiceCallServiceDiscoveryConfiguration()
-
EtcdServiceCallServiceDiscoveryConfiguration
public EtcdServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent)
-
-
Method Detail
-
getUris
public String getUris()
-
setUris
public void setUris(String uris)
The URIs the client can connect to.
-
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.
-
getTimeout
public String getTimeout()
-
setTimeout
public void setTimeout(String timeout)
To set the maximum time an action could take to complete.
-
getServicePath
public String getServicePath()
-
setServicePath
public void setServicePath(String servicePath)
The path to look for for service discovery
-
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.
-
getType
public String getType()
-
setType
public void setType(String type)
To set the discovery type, valid values are on-demand and watch.
-
uris
public EtcdServiceCallServiceDiscoveryConfiguration uris(String uris)
The URIs the client can connect to.
-
userName
public EtcdServiceCallServiceDiscoveryConfiguration userName(String userName)
The user name to use for basic authentication.
-
password
public EtcdServiceCallServiceDiscoveryConfiguration password(String password)
The password to use for basic authentication.
-
timeout
public EtcdServiceCallServiceDiscoveryConfiguration timeout(Long timeout)
To set the maximum time an action could take to complete.
-
timeout
public EtcdServiceCallServiceDiscoveryConfiguration timeout(String timeout)
To set the maximum time an action could take to complete.
-
servicePath
public EtcdServiceCallServiceDiscoveryConfiguration servicePath(String servicePath)
The path to look for for service discovery
-
sslContextParameters
public EtcdServiceCallServiceDiscoveryConfiguration sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
-
type
public EtcdServiceCallServiceDiscoveryConfiguration type(String type)
To set the discovery type, valid values are on-demand and watch.
-
-