Interface Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder,Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder
- Enclosing interface:
Etcd3EndpointBuilderFactory
public static interface Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder
extends Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder, Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder
Advanced builder for endpoint for the Etcd v3 component.
-
Method Summary
Modifier and TypeMethodDescriptionauthHeaders(String key, Object value) Configure the headers to be added to auth request headers.authHeaders(Map values) Configure the headers to be added to auth request headers.Configure the authority used to authenticate connections to servers.basic()connectionTimeout(String connectionTimeout) Configure the connection timeout.connectionTimeout(Duration connectionTimeout) Configure the connection timeout.Configure the headers to be added to http request headers.Configure the headers to be added to http request headers.keepAliveTime(String keepAliveTime) Configure the interval for gRPC keepalives.keepAliveTime(Duration keepAliveTime) Configure the interval for gRPC keepalives.keepAliveTimeout(String keepAliveTimeout) Configure the timeout for gRPC keepalives.keepAliveTimeout(Duration keepAliveTimeout) Configure the timeout for gRPC keepalives.loadBalancerPolicy(String loadBalancerPolicy) Configure etcd load balancer policy.maxInboundMessageSize(Integer maxInboundMessageSize) Configure the maximum message size allowed for a single gRPC frame.maxInboundMessageSize(String maxInboundMessageSize) Configure the maximum message size allowed for a single gRPC frame.retryDelay(long retryDelay) Configure the delay between retries in milliseconds.retryDelay(String retryDelay) Configure the delay between retries in milliseconds.retryMaxDelay(long retryMaxDelay) Configure the max backing off delay between retries in milliseconds.retryMaxDelay(String retryMaxDelay) Configure the max backing off delay between retries in milliseconds.retryMaxDuration(String retryMaxDuration) Configure the retries max duration.retryMaxDuration(Duration retryMaxDuration) Configure the retries max duration.sslContext(io.netty.handler.ssl.SslContext sslContext) Configure SSL/TLS context to use instead of the system default.sslContext(String sslContext) Configure SSL/TLS context to use instead of the system default.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, fromIndex, fromIndexMethods inherited from interface org.apache.camel.builder.endpoint.dsl.Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basicin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
basicin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder
-
authHeaders
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder authHeaders(String key, Object value) Configure the headers to be added to auth request headers. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. The option is multivalued, and you can use the authHeaders(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
authHeadersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
authHeadersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
authHeaders
Configure the headers to be added to auth request headers. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. The option is multivalued, and you can use the authHeaders(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
authHeadersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
authHeadersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
values- the values- Returns:
- the dsl builder
-
authority
Configure the authority used to authenticate connections to servers. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
authorityin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
authorityin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
authority- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder connectionTimeout(Duration connectionTimeout) Configure the connection timeout. The option is a: <code>java.time.Duration</code> type. Group: advanced- Specified by:
connectionTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
connectionTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
connectionTimeout- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder connectionTimeout(String connectionTimeout) Configure the connection timeout. The option will be converted to a <code>java.time.Duration</code> type. Group: advanced- Specified by:
connectionTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
connectionTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
connectionTimeout- the value to set- Returns:
- the dsl builder
-
headers
Configure the headers to be added to http request headers. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. The option is multivalued, and you can use the headers(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
headersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
headersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
headers
Configure the headers to be added to http request headers. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. The option is multivalued, and you can use the headers(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
headersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
headersin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
values- the values- Returns:
- the dsl builder
-
keepAliveTime
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder keepAliveTime(Duration keepAliveTime) Configure the interval for gRPC keepalives. The current minimum allowed by gRPC is 10 seconds. The option is a: <code>java.time.Duration</code> type. Default: 30 seconds Group: advanced- Specified by:
keepAliveTimein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
keepAliveTimein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
keepAliveTime- the value to set- Returns:
- the dsl builder
-
keepAliveTime
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder keepAliveTime(String keepAliveTime) Configure the interval for gRPC keepalives. The current minimum allowed by gRPC is 10 seconds. The option will be converted to a <code>java.time.Duration</code> type. Default: 30 seconds Group: advanced- Specified by:
keepAliveTimein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
keepAliveTimein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
keepAliveTime- the value to set- Returns:
- the dsl builder
-
keepAliveTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder keepAliveTimeout(Duration keepAliveTimeout) Configure the timeout for gRPC keepalives. The option is a: <code>java.time.Duration</code> type. Default: 10 seconds Group: advanced- Specified by:
keepAliveTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
keepAliveTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
keepAliveTimeout- the value to set- Returns:
- the dsl builder
-
keepAliveTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder keepAliveTimeout(String keepAliveTimeout) Configure the timeout for gRPC keepalives. The option will be converted to a <code>java.time.Duration</code> type. Default: 10 seconds Group: advanced- Specified by:
keepAliveTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
keepAliveTimeoutin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
keepAliveTimeout- the value to set- Returns:
- the dsl builder
-
loadBalancerPolicy
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder loadBalancerPolicy(String loadBalancerPolicy) Configure etcd load balancer policy. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
loadBalancerPolicyin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
loadBalancerPolicyin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
loadBalancerPolicy- the value to set- Returns:
- the dsl builder
-
maxInboundMessageSize
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder maxInboundMessageSize(Integer maxInboundMessageSize) Configure the maximum message size allowed for a single gRPC frame. The option is a: <code>java.lang.Integer</code> type. Group: advanced- Specified by:
maxInboundMessageSizein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
maxInboundMessageSizein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
maxInboundMessageSize- the value to set- Returns:
- the dsl builder
-
maxInboundMessageSize
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder maxInboundMessageSize(String maxInboundMessageSize) Configure the maximum message size allowed for a single gRPC frame. The option will be converted to a <code>java.lang.Integer</code> type. Group: advanced- Specified by:
maxInboundMessageSizein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
maxInboundMessageSizein interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
maxInboundMessageSize- the value to set- Returns:
- the dsl builder
-
retryDelay
Configure the delay between retries in milliseconds. The option is a: <code>long</code> type. Default: 500 Group: advanced- Specified by:
retryDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
retryDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
retryDelay- the value to set- Returns:
- the dsl builder
-
retryDelay
Configure the delay between retries in milliseconds. The option will be converted to a <code>long</code> type. Default: 500 Group: advanced- Specified by:
retryDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
retryDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
retryDelay- the value to set- Returns:
- the dsl builder
-
retryMaxDelay
Configure the max backing off delay between retries in milliseconds. The option is a: <code>long</code> type. Default: 2500 Group: advanced- Specified by:
retryMaxDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
retryMaxDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
retryMaxDelay- the value to set- Returns:
- the dsl builder
-
retryMaxDelay
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder retryMaxDelay(String retryMaxDelay) Configure the max backing off delay between retries in milliseconds. The option will be converted to a <code>long</code> type. Default: 2500 Group: advanced- Specified by:
retryMaxDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
retryMaxDelayin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
retryMaxDelay- the value to set- Returns:
- the dsl builder
-
retryMaxDuration
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder retryMaxDuration(Duration retryMaxDuration) Configure the retries max duration. The option is a: <code>java.time.Duration</code> type. Group: advanced- Specified by:
retryMaxDurationin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
retryMaxDurationin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
retryMaxDuration- the value to set- Returns:
- the dsl builder
-
retryMaxDuration
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder retryMaxDuration(String retryMaxDuration) Configure the retries max duration. The option will be converted to a <code>java.time.Duration</code> type. Group: advanced- Specified by:
retryMaxDurationin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
retryMaxDurationin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
retryMaxDuration- the value to set- Returns:
- the dsl builder
-
sslContext
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder sslContext(io.netty.handler.ssl.SslContext sslContext) Configure SSL/TLS context to use instead of the system default. The option is a: <code>io.netty.handler.ssl.SslContext</code> type. Group: security- Specified by:
sslContextin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
sslContextin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
sslContext- the value to set- Returns:
- the dsl builder
-
sslContext
Configure SSL/TLS context to use instead of the system default. The option will be converted to a <code>io.netty.handler.ssl.SslContext</code> type. Group: security- Specified by:
sslContextin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointConsumerBuilder- Specified by:
sslContextin interfaceEtcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder- Parameters:
sslContext- the value to set- Returns:
- the dsl builder
-