The camel etcd component allows you to work with Etcd, a distributed, A distributed, reliable key-value store.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
namespace | path | common | true | org.apache.camel.component.etcd.EtcdNamespace | keys stats watch |
The API namespace to use | |
path | path | common | false | java.lang.String | The path the enpoint refers to | ||
recursive | parameter | common | boolean | To apply an action recursively. | |||
servicePath | parameter | common | /services/ | java.lang.String | The path to look for for service discovery | ||
timeout | parameter | common | java.lang.Long | To set the maximum time an action could take to complete. | |||
uris | parameter | common | http://localhost:2379,http://localhost:4001 | java.lang.String | To set the URIs the client connects. | ||
bridgeErrorHandler | parameter | consumer | boolean | 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/ERROR level and ignored. | |||
sendEmptyExchangeOnTimeout | parameter | consumer | boolean | To send an empty message in case of timeout watching for a key. | |||
exceptionHandler | parameter | consumer (advanced) | org.apache.camel.spi.ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exchangePattern | parameter | consumer (advanced) | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the exchange pattern when the consumer creates an exchange. | ||
fromIndex | parameter | consumer (advanced) | 0 | java.lang.Long | The index to watch from | ||
timeToLive | parameter | producer | java.lang.Integer | To set the lifespan of a key in milliseconds. | |||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | ||
password | parameter | security | java.lang.String | The password to use for basic authentication. | |||
sslContextParameters | parameter | security | org.apache.camel.util.jsse.SSLContextParameters | To configure security using SSLContextParameters. | |||
userName | parameter | security | java.lang.String | The user name to use for basic authentication. |
The etcd consumer.