96.3. Spring Boot Auto-Configuration
组件支持 17 个选项,如下所示。
| 名称 | 描述 | 默认 | 类型 |
|---|---|---|---|
| camel.component.etcd.configuration.from-index | 要监视的索引 | 0 | Long |
| camel.component.etcd.configuration.password | 用于基本身份验证的密码。 | 字符串 | |
| camel.component.etcd.configuration.recursive | 以递归方式应用操作。 | false | 布尔值 |
| camel.component.etcd.configuration.send-empty-exchange-on-timeout | 在出现超时监视密钥时发送空消息。 | false | 布尔值 |
| camel.component.etcd.configuration.service-path | 查找服务发现的路径 | /services/ | 字符串 |
| camel.component.etcd.configuration.ssl-context-parameters | 使用 SSLContextParameters 配置安全性。 | SSLContextParameters | |
| camel.component.etcd.configuration.time-to-live | 以毫秒为单位设置密钥的寿命。 | 整数 | |
| camel.component.etcd.configuration.timeout | 要设置操作可完成的最大时间。 | Long | |
| camel.component.etcd.configuration.uris | 要设置客户端连接的 URI。 | 字符串 | |
| camel.component.etcd.configuration.user-name | 用于基本身份验证的用户名。 | 字符串 | |
| camel.component.etcd.enabled | 启用 etcd 组件 | true | 布尔值 |
| camel.component.etcd.password | 用于基本身份验证的密码。 | 字符串 | |
| camel.component.etcd.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |
| camel.component.etcd.ssl-context-parameters | 使用 SSLContextParameters 配置安全性。选项是一个 org.apache.camel.util.jsse.SSLContextParameters 类型。 | 字符串 | |
| camel.component.etcd.uris | 要设置客户端连接的 URI。 | 字符串 | |
| camel.component.etcd.use-global-ssl-context-parameters | 启用使用全局 SSL 上下文参数。 | false | 布尔值 |
| camel.component.etcd.user-name | 用于基本身份验证的用户名。 | 字符串 |