69.3. Spring Boot Auto-Configuration
组件支持 90 选项,它们如下所列。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
camel.component.consul.acl-token | 设置与 Consul 搭配使用的 ACL 令牌 | 字符串 | |
camel.component.consul.cluster.service.acl-token | 字符串 | ||
camel.component.consul.cluster.service.attributes | 自定义服务属性。 | map | |
camel.component.consul.cluster.service.block-seconds | 整数 | ||
camel.component.consul.cluster.service.connect-timeout-millis | Long | ||
camel.component.consul.cluster.service.consistency-mode | ConsistencyMode | ||
camel.component.consul.cluster.service.datacenter | 字符串 | ||
camel.component.consul.cluster.service.enabled | 如果应启用或不启用 consul 集群服务,则设置默认值为 false。 | false | 布尔值 |
camel.component.consul.cluster.service.first-index | BigInteger | ||
camel.component.consul.cluster.service.id | Cluster Service ID | 字符串 | |
camel.component.consul.cluster.service.near-node | 字符串 | ||
camel.component.consul.cluster.service.node-meta | list | ||
camel.component.consul.cluster.service.order | 服务查找顺序/优先级. | 整数 | |
camel.component.consul.cluster.service.password | 字符串 | ||
camel.component.consul.cluster.service.ping-instance | 布尔值 | ||
camel.component.consul.cluster.service.read-timeout-millis | Long | ||
camel.component.consul.cluster.service.recursive | 布尔值 | ||
camel.component.consul.cluster.service.root-path | 字符串 | ||
camel.component.consul.cluster.service.session-lock-delay | 整数 | ||
camel.component.consul.cluster.service.session-refresh-interval | 整数 | ||
camel.component.consul.cluster.service.session-ttl | 整数 | ||
camel.component.consul.cluster.service.ssl-context-parameters | SSLContextParameters | ||
camel.component.consul.cluster.service.tags | Set | ||
camel.component.consul.cluster.service.url | 字符串 | ||
camel.component.consul.cluster.service.user-name | 字符串 | ||
camel.component.consul.cluster.service.write-timeout-millis | Long | ||
camel.component.consul.configuration.acl-token | 设置与 Consul 搭配使用的 ACL 令牌 | 字符串 | |
camel.component.consul.configuration.action | 默认操作。CamelConsulAction 可覆盖 | 字符串 | |
camel.component.consul.configuration.block-seconds | 秒等待监视事件,默认为 10 秒 | 整数 | |
camel.component.consul.configuration.connect-timeout-millis | Connect timeout for OkHttpClient | Long | |
camel.component.consul.configuration.consistency-mode | 用于查询的 consistencyMode,默认的 ConsistencyMode.DEFAULT | ConsistencyMode | |
camel.component.consul.configuration.consul-client |
引用 registry 中的 | Consul | |
camel.component.consul.configuration.datacenter | 数据中心 | 字符串 | |
camel.component.consul.configuration.first-index | 第一个用于监视的索引,默认为 0 | BigInteger | |
camel.component.consul.configuration.key | 默认密钥。CamelConsulKey 可覆盖 | 字符串 | |
camel.component.consul.configuration.near-node | 用于查询的附近节点。 | 字符串 | |
camel.component.consul.configuration.node-meta | 用于查询的 note meta-data。 | list | |
camel.component.consul.configuration.password | 设置用于基本身份验证的密码 | 字符串 | |
camel.component.consul.configuration.ping-instance | 在返回 Consul 实例前,配置 AgentClient 应该尝试 ping | 布尔值 | |
camel.component.consul.configuration.read-timeout-millis | OkHttpClient 的读取超时 | Long | |
camel.component.consul.configuration.recursive | 递归监视,默认 false | 布尔值 | |
camel.component.consul.configuration.ssl-context-parameters | 使用 org.apache.camel.util.jsse.SSLContextParameters 实例的 SSL 配置。 | SSLContextParameters | |
camel.component.consul.configuration.tags | 设置标签。您可以用逗号分隔多个标签。 | Set | |
camel.component.consul.configuration.url | Consul 代理 URL | 字符串 | |
camel.component.consul.configuration.user-name | 设置用于基本身份验证的用户名 | 字符串 | |
camel.component.consul.configuration.value-as-string | 默认为将从 Consul i.e 检索的值转换为字符串。 | 布尔值 | |
camel.component.consul.configuration.write-timeout-millis | OkHttpClient 写入超时 | Long | |
camel.component.consul.datacenter | 数据中心 | 字符串 | |
camel.component.consul.enabled | 启用 consul 组件 | true | 布尔值 |
camel.component.consul.health.check.repository.checks | 定义要包含的检查。 | list | |
camel.component.consul.health.check.repository.configurations | 健康检查配置。 | map | |
camel.component.consul.health.check.repository.enabled | 布尔值 | ||
camel.component.consul.health.check.repository.failure-threshold | 整数 | ||
camel.component.consul.health.check.repository.interval | 字符串 | ||
camel.component.consul.password | 设置用于基本身份验证的密码 | 字符串 | |
camel.component.consul.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |
camel.component.consul.service-registry.acl-token | 字符串 | ||
camel.component.consul.service-registry.attributes | 自定义服务属性。 | map | |
camel.component.consul.service-registry.block-seconds | 整数 | ||
camel.component.consul.service-registry.check-interval | 整数 | ||
camel.component.consul.service-registry.check-ttl | 整数 | ||
camel.component.consul.service-registry.connect-timeout-millis | Long | ||
camel.component.consul.service-registry.consistency-mode | ConsistencyMode | ||
camel.component.consul.service-registry.datacenter | 字符串 | ||
camel.component.consul.service-registry.deregister-after | 整数 | ||
camel.component.consul.service-registry.deregister-services-on-stop | 布尔值 | ||
camel.component.consul.service-registry.enabled | 如果应启用或不启用 consul 服务 registry,则设置默认值为 false。 | false | 布尔值 |
camel.component.consul.service-registry.first-index | BigInteger | ||
camel.component.consul.service-registry.id | 服务 Registry ID | 字符串 | |
camel.component.consul.service-registry.near-node | 字符串 | ||
camel.component.consul.service-registry.node-meta | list | ||
camel.component.consul.service-registry.order | 服务查找顺序/优先级. | 整数 | |
camel.component.consul.service-registry.override-service-host | 布尔值 | ||
camel.component.consul.service-registry.password | 字符串 | ||
camel.component.consul.service-registry.ping-instance | 布尔值 | ||
camel.component.consul.service-registry.read-timeout-millis | Long | ||
camel.component.consul.service-registry.recursive | 布尔值 | ||
camel.component.consul.service-registry.service-host | 字符串 | ||
camel.component.consul.service-registry.ssl-context-parameters | SSLContextParameters | ||
camel.component.consul.service-registry.tags | Set | ||
camel.component.consul.service-registry.url | 字符串 | ||
camel.component.consul.service-registry.user-name | 字符串 | ||
camel.component.consul.service-registry.write-timeout-millis | Long | ||
camel.component.consul.ssl-context-parameters | 使用 org.apache.camel.util.jsse.SSLContextParameters 实例的 SSL 配置。选项是一个 org.apache.camel.util.jsse.SSLContextParameters 类型。 | 字符串 | |
camel.component.consul.url | Consul 代理 URL | 字符串 | |
camel.component.consul.use-global-ssl-context-parameters | 启用使用全局 SSL 上下文参数。 | false | 布尔值 |
camel.component.consul.user-name | 设置用于基本身份验证的用户名 | 字符串 | |
camel.component.consul.cluster.service.dc | 字符串 | ||
camel.component.consul.configuration.dc | 数据中心 @ deprecated 替换为 {@link #setDatacenter (String)}} | 字符串 | |
camel.component.consul.service-registry.dc | 字符串 |