Interface Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointBuilder
- Enclosing interface:
- Etcd3EndpointBuilderFactory
public static interface Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Etcd v3 component.
-
-
Method Summary
-
-
-
Method Detail
-
basic
default Etcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder basic()
-
lazyStartProducer
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
authHeaders
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
authHeaders
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder authHeaders(Map values)
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- Parameters:
values
- the values- Returns:
- the dsl builder
-
authority
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder authority(String authority)
Configure the authority used to authenticate connections to servers. The option is a: <code>java.lang.String</code> type. Group: advanced- Parameters:
authority
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder connectionTimeout(Duration connectionTimeout)
Configure the connection timeout. The option is a: <code>java.time.Duration</code> type. Group: advanced- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder connectionTimeout(String connectionTimeout)
Configure the connection timeout. The option will be converted to a <code>java.time.Duration</code> type. Group: advanced- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
headers
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder headers(String key, Object value)
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- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
headers
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder headers(Map values)
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- Parameters:
values
- the values- Returns:
- the dsl builder
-
keepAliveTime
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
keepAliveTime
- the value to set- Returns:
- the dsl builder
-
keepAliveTime
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
keepAliveTime
- the value to set- Returns:
- the dsl builder
-
keepAliveTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder keepAliveTimeout(Duration keepAliveTimeout)
Configure the timeout for gRPC keepalives. The option is a: <code>java.time.Duration</code> type. Default: 10 seconds Group: advanced- Parameters:
keepAliveTimeout
- the value to set- Returns:
- the dsl builder
-
keepAliveTimeout
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
keepAliveTimeout
- the value to set- Returns:
- the dsl builder
-
loadBalancerPolicy
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder loadBalancerPolicy(String loadBalancerPolicy)
Configure etcd load balancer policy. The option is a: <code>java.lang.String</code> type. Group: advanced- Parameters:
loadBalancerPolicy
- the value to set- Returns:
- the dsl builder
-
maxInboundMessageSize
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
maxInboundMessageSize
- the value to set- Returns:
- the dsl builder
-
maxInboundMessageSize
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
maxInboundMessageSize
- the value to set- Returns:
- the dsl builder
-
retryDelay
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder retryDelay(long retryDelay)
Configure the delay between retries in milliseconds. The option is a: <code>long</code> type. Default: 500 Group: advanced- Parameters:
retryDelay
- the value to set- Returns:
- the dsl builder
-
retryDelay
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder retryDelay(String retryDelay)
Configure the delay between retries in milliseconds. The option will be converted to a <code>long</code> type. Default: 500 Group: advanced- Parameters:
retryDelay
- the value to set- Returns:
- the dsl builder
-
retryMaxDelay
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder retryMaxDelay(long retryMaxDelay)
Configure the max backing off delay between retries in milliseconds. The option is a: <code>long</code> type. Default: 2500 Group: advanced- Parameters:
retryMaxDelay
- the value to set- Returns:
- the dsl builder
-
retryMaxDelay
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
retryMaxDelay
- the value to set- Returns:
- the dsl builder
-
retryMaxDuration
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder retryMaxDuration(Duration retryMaxDuration)
Configure the retries max duration. The option is a: <code>java.time.Duration</code> type. Group: advanced- Parameters:
retryMaxDuration
- the value to set- Returns:
- the dsl builder
-
retryMaxDuration
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder retryMaxDuration(String retryMaxDuration)
Configure the retries max duration. The option will be converted to a <code>java.time.Duration</code> type. Group: advanced- Parameters:
retryMaxDuration
- the value to set- Returns:
- the dsl builder
-
sslContext
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder 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- Parameters:
sslContext
- the value to set- Returns:
- the dsl builder
-
sslContext
default Etcd3EndpointBuilderFactory.AdvancedEtcd3EndpointProducerBuilder sslContext(String 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- Parameters:
sslContext
- the value to set- Returns:
- the dsl builder
-
-