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.EndpointConsumerBuilder
Builder for endpoint for the Etcd Watch component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default EtcdWatchEndpointBuilderFactory.AdvancedEtcdWatchEndpointBuilder
advanced()
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.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.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
password(String password)
The password to use for basic authentication.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
recursive(boolean recursive)
To apply an action recursively.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
recursive(String recursive)
To apply an action recursively.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
sendEmptyExchangeOnTimeout(boolean sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
sendEmptyExchangeOnTimeout(String sendEmptyExchangeOnTimeout)
To send an empty message in case of timeout watching for a key.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
servicePath(String servicePath)
The path to look for for service discovery.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
timeout(Long timeout)
To set the maximum time an action could take to complete.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
timeout(String timeout)
To set the maximum time an action could take to complete.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
uris(String uris)
To set the URIs the client connects.default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
userName(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(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 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
-
-