Interface EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- EtcdKeysEndpointBuilderFactory
public static interface EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Etcd Keys component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
password(String password)
The password to use for basic authentication.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
recursive(boolean recursive)
To apply an action recursively.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
recursive(String recursive)
To apply an action recursively.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
servicePath(String servicePath)
The path to look for for service discovery.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
timeout(Long timeout)
To set the maximum time an action could take to complete.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
timeout(String timeout)
To set the maximum time an action could take to complete.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
timeToLive(Integer timeToLive)
To set the lifespan of a key in milliseconds.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
timeToLive(String timeToLive)
To set the lifespan of a key in milliseconds.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
uris(String uris)
To set the URIs the client connects.default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
userName(String userName)
The user name to use for basic authentication.
-
-
-
Method Detail
-
recursive
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder recursive(boolean recursive)
To apply an action recursively. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
recursive
- the value to set- Returns:
- the dsl builder
-
recursive
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder recursive(String recursive)
To apply an action recursively. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
recursive
- the value to set- Returns:
- the dsl builder
-
servicePath
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder servicePath(String servicePath)
The path to look for for service discovery. The option is a: <code>java.lang.String</code> type. Default: /services/ Group: producer- Parameters:
servicePath
- the value to set- Returns:
- the dsl builder
-
timeout
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder timeout(Long timeout)
To set the maximum time an action could take to complete. The option is a: <code>java.lang.Long</code> type. Group: producer- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
timeout
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder timeout(String timeout)
To set the maximum time an action could take to complete. The option will be converted to a <code>java.lang.Long</code> type. Group: producer- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
uris
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder uris(String uris)
To set the URIs the client connects. The option is a: <code>java.lang.String</code> type. Default: http://localhost:2379,http://localhost:4001 Group: common- Parameters:
uris
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder 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- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder 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- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
timeToLive
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder timeToLive(Integer timeToLive)
To set the lifespan of a key in milliseconds. The option is a: <code>java.lang.Integer</code> type. Group: producer- Parameters:
timeToLive
- the value to set- Returns:
- the dsl builder
-
timeToLive
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder timeToLive(String timeToLive)
To set the lifespan of a key in milliseconds. The option will be converted to a <code>java.lang.Integer</code> type. Group: producer- Parameters:
timeToLive
- the value to set- Returns:
- the dsl builder
-
password
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder password(String password)
The password to use for basic authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
userName
default EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder userName(String userName)
The user name to use for basic authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
userName
- the value to set- Returns:
- the dsl builder
-
-