Represents a etcd endpoint.
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. | |||
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. | |||
timeToLive | parameter | producer | java.lang.Integer | To set the lifespan of a key in milliseconds. | |||
exchangePattern | parameter | advanced | InOnly | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | ||
fromIndex | parameter | advance | 0 | java.lang.Long | The index to watch from | ||
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.