95.3. Spring Boot Auto-Configuration


组件支持 13 个选项,如下所列。

Expand
Name描述默认值类型

camel.component.elasticsearch-rest.client

使用现有的配置的 Elasticsearch 客户端,而不是为每个端点创建客户端。这允许使用特定设置自定义客户端。选项是一个 org.elasticsearch.client.RestClient 类型。

 

字符串

camel.component.elasticsearch-rest.connection-timeout

在连接超时前等待的时间(ms)。

30000

整数

camel.component.elasticsearch-rest.enable-s-s-l

启用 SSL

false

布尔值

camel.component.elasticsearch-rest.enable-sniffer

启用从正在运行的 Elasticsearch 集群中自动发现节点

false

布尔值

camel.component.elasticsearch-rest.enabled

是否启用 elasticsearch-rest 组件的自动配置。这默认是启用的。

 

布尔值

camel.component.elasticsearch-rest.host-addresses

以逗号分隔的带有 ip:port 格式的远程传输地址的列表。ip 和 port 选项必须留空,才能考虑 hostAddresses。

 

字符串

camel.component.elasticsearch-rest.max-retry-timeout

重试前的 ms 的时间

30000

整数

camel.component.elasticsearch-rest.password

用于验证的密码

 

字符串

camel.component.elasticsearch-rest.resolve-property-placeholders

组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。

true

布尔值

camel.component.elasticsearch-rest.sniff-after-failure-delay

失败后调度的 sniff 执行的延迟(以毫秒为单位)

60000

整数

camel.component.elasticsearch-rest.sniffer-interval

连续的普通嗅探执行间隔(以毫秒为单位)。当 sniffOnFailure 被禁用或连续的 sniffOnFailure 之间没有故障时,将隐藏

300000

整数

camel.component.elasticsearch-rest.socket-timeout

套接字超时前等待的超时时间。

30000

整数

camel.component.elasticsearch-rest.user

基本验证用户

 

字符串

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部