Interface EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.etcd.EtcdKeysComponent>
- All Known Implementing Classes:
EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilderImpl
- Enclosing interface:
- EtcdKeysComponentBuilderFactory
public static interface EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder extends ComponentBuilder<org.apache.camel.component.etcd.EtcdKeysComponent>
Builder for the Etcd Keys component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
configuration(org.apache.camel.component.etcd.EtcdConfiguration configuration)
Component configuration.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
password(String password)
The password to use for basic authentication.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
recursive(boolean recursive)
To apply an action recursively.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
servicePath(String servicePath)
The path to look for for service discovery.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
timeout(Long timeout)
To set the maximum time an action could take to complete.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
timeToLive(Integer timeToLive)
To set the lifespan of a key in milliseconds.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
uris(String uris)
To set the URIs the client connects.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder
userName(String userName)
The user name to use for basic authentication.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
configuration
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder configuration(org.apache.camel.component.etcd.EtcdConfiguration configuration)
Component configuration. The option is a: <code>org.apache.camel.component.etcd.EtcdConfiguration</code> type. Group: producer- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
recursive
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
servicePath
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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 EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
uris
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
timeToLive
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
autowiredEnabled
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
autowiredEnabled
- the value to set- Returns:
- the dsl builder
-
password
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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 EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
useGlobalSslContextParameters
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
useGlobalSslContextParameters
- the value to set- Returns:
- the dsl builder
-
userName
default EtcdKeysComponentBuilderFactory.EtcdKeysComponentBuilder 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
-
-