Interface EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
- EtcdWatchEndpointBuilderFactory
public static interface EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder extends org.apache.camel.builder.EndpointConsumerBuilderBuilder for endpoint for the Etcd Watch component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default EtcdWatchEndpointBuilderFactory.AdvancedEtcdWatchEndpointBuilderadvanced()default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderbridgeErrorHandler(boolean bridgeErrorHandler)Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderbridgeErrorHandler(String bridgeErrorHandler)Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderpassword(String password)The password to use for basic authentication.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderrecursive(boolean recursive)To apply an action recursively.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderrecursive(String recursive)To apply an action recursively.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuildersendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)To send an empty message in case of timeout watching for a key.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuildersendEmptyExchangeOnTimeout(String sendEmptyExchangeOnTimeout)To send an empty message in case of timeout watching for a key.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderservicePath(String servicePath)The path to look for for service discovery.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuildersslContextParameters(Object sslContextParameters)To configure security using SSLContextParameters.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuildersslContextParameters(String sslContextParameters)To configure security using SSLContextParameters.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuildertimeout(Long timeout)To set the maximum time an action could take to complete.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuildertimeout(String timeout)To set the maximum time an action could take to complete.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderuris(String uris)To set the URIs the client connects.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilderuserName(String userName)The user name to use for basic authentication.
-
-
-
Method Detail
-
advanced
default EtcdWatchEndpointBuilderFactory.AdvancedEtcdWatchEndpointBuilder advanced()
-
bridgeErrorHandler
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler- the value to set- Returns:
- the dsl builder
-
recursive
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder recursive(boolean recursive)
To apply an action recursively. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
recursive- the value to set- Returns:
- the dsl builder
-
recursive
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder recursive(String recursive)
To apply an action recursively. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
recursive- the value to set- Returns:
- the dsl builder
-
servicePath
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder servicePath(String servicePath)
The path to look for for service discovery. The option is a: <code>java.lang.String</code> type. Default: /services/ Group: consumer- Parameters:
servicePath- the value to set- Returns:
- the dsl builder
-
uris
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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
-
sendEmptyExchangeOnTimeout
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
sendEmptyExchangeOnTimeout- the value to set- Returns:
- the dsl builder
-
sendEmptyExchangeOnTimeout
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sendEmptyExchangeOnTimeout(String sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
sendEmptyExchangeOnTimeout- the value to set- Returns:
- the dsl builder
-
timeout
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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: consumer- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
timeout
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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: consumer- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
password
default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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 EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sslContextParameters(Object 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 EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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 EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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
-
-