Class Etcd3ServiceDiscoveryFactory
java.lang.Object
org.apache.camel.component.etcd3.cloud.Etcd3ServiceDiscoveryFactory
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceDiscoveryFactory,org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>
@CloudServiceFactory("etcd-service-discovery")
@Configurer
@Deprecated
public class Etcd3ServiceDiscoveryFactory
extends Object
implements org.apache.camel.cloud.ServiceDiscoveryFactory
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Etcd3ServiceDiscoveryFactory(Etcd3Configuration configuration) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.longDeprecated.longDeprecated.Deprecated.Deprecated.io.netty.handler.ssl.SslContextDeprecated.getType()Deprecated.Deprecated.Deprecated.org.apache.camel.cloud.ServiceDiscoverynewInstance(org.apache.camel.CamelContext camelContext) Deprecated.voidsetAuthHeaders(Map<String, String> authHeaders) Deprecated.Configure the headers to be added to auth request headers.voidsetAuthority(String authority) Deprecated.Configure the authority used to authenticate connections to servers.voidsetConnectionTimeout(Duration connectionTimeout) Deprecated.Configure the connection timeout.voidsetEndpoints(String endpoints) Deprecated.Configure etcd server endpoints using the IPNameResolver.voidsetHeaders(Map<String, String> headers) Deprecated.Configure the headers to be added to http request headers.voidsetKeepAliveTime(Duration keepAliveTime) Deprecated.Configure the interval for gRPC keepalives.voidsetKeepAliveTimeout(Duration keepAliveTimeout) Deprecated.Configure the timeout for gRPC keepalives.voidsetKeyCharset(String keyCharset) Deprecated.Configure the charset to use for the keys.voidsetLoadBalancerPolicy(String loadBalancerPolicy) Deprecated.Configure etcd load balancer policy.voidsetMaxInboundMessageSize(Integer maxInboundMessageSize) Deprecated.Configure the maximum message size allowed for a single gRPC frame.voidsetNamespace(String namespace) Deprecated.Configure the namespace of keys used. "/" will be treated as no namespace.voidsetPassword(String password) Deprecated.Configure etcd auth password.voidsetRetryDelay(long retryDelay) Deprecated.Configure the delay between retries in milliseconds.voidsetRetryMaxDelay(long retryMaxDelay) Deprecated.Configure the max backing off delay between retries in milliseconds.voidsetRetryMaxDuration(Duration retryMaxDuration) Deprecated.Configure the retries max duration.voidsetServicePath(String servicePath) Deprecated.The path to look for service discovery.voidsetSslContext(io.netty.handler.ssl.SslContext sslContext) Deprecated.Configure SSL/TLS context to use instead of the system default.voidDeprecated.Configure the type of service discovery.voidsetUserName(String userName) Deprecated.Configure etcd auth user.voidsetValueCharset(String valueCharset) Deprecated.Configure the charset to use for the values.
-
Constructor Details
-
Etcd3ServiceDiscoveryFactory
public Etcd3ServiceDiscoveryFactory()Deprecated. -
Etcd3ServiceDiscoveryFactory
Deprecated.
-
-
Method Details
-
getEndpoints
Deprecated. -
setEndpoints
Deprecated.Configure etcd server endpoints using the IPNameResolver. Multiple endpoints can be separated by comma. -
getUserName
Deprecated. -
setUserName
Deprecated.Configure etcd auth user. -
getPassword
Deprecated. -
setPassword
Deprecated.Configure etcd auth password. -
getNamespace
Deprecated. -
setNamespace
Deprecated.Configure the namespace of keys used. "/" will be treated as no namespace. -
getSslContext
public io.netty.handler.ssl.SslContext getSslContext()Deprecated. -
setSslContext
public void setSslContext(io.netty.handler.ssl.SslContext sslContext) Deprecated.Configure SSL/TLS context to use instead of the system default. -
getLoadBalancerPolicy
Deprecated. -
setLoadBalancerPolicy
Deprecated.Configure etcd load balancer policy. -
getAuthority
Deprecated. -
setAuthority
Deprecated.Configure the authority used to authenticate connections to servers. -
getMaxInboundMessageSize
Deprecated. -
setMaxInboundMessageSize
Deprecated.Configure the maximum message size allowed for a single gRPC frame. -
getHeaders
Deprecated. -
setHeaders
Deprecated.Configure the headers to be added to http request headers. -
getAuthHeaders
Deprecated. -
setAuthHeaders
Deprecated.Configure the headers to be added to auth request headers. -
getRetryDelay
public long getRetryDelay()Deprecated. -
setRetryDelay
public void setRetryDelay(long retryDelay) Deprecated.Configure the delay between retries in milliseconds. -
getRetryMaxDelay
public long getRetryMaxDelay()Deprecated. -
setRetryMaxDelay
public void setRetryMaxDelay(long retryMaxDelay) Deprecated.Configure the max backing off delay between retries in milliseconds. -
getKeepAliveTime
Deprecated. -
setKeepAliveTime
Deprecated.Configure the interval for gRPC keepalives. The current minimum allowed by gRPC is 10 seconds. -
getKeepAliveTimeout
Deprecated. -
setKeepAliveTimeout
Deprecated.Configure the timeout for gRPC keepalives. -
getRetryMaxDuration
Deprecated. -
setRetryMaxDuration
Deprecated.Configure the retries max duration. -
getConnectionTimeout
Deprecated. -
setConnectionTimeout
Deprecated.Configure the connection timeout. -
getServicePath
Deprecated. -
setServicePath
Deprecated.The path to look for service discovery. -
getKeyCharset
Deprecated. -
setKeyCharset
Deprecated.Configure the charset to use for the keys. -
getValueCharset
Deprecated. -
setValueCharset
Deprecated.Configure the charset to use for the values. -
getType
Deprecated. -
setType
Deprecated.Configure the type of service discovery. Possible values "watch" or any other. -
newInstance
public org.apache.camel.cloud.ServiceDiscovery newInstance(org.apache.camel.CamelContext camelContext) throws Exception Deprecated.- Specified by:
newInstancein interfaceorg.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>- Throws:
Exception
-