127.17. Spring Boot Auto-Configuration


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

Expand
Name描述默认值类型

camel.component.vertx-http.allow-java-serialized-object

当请求具有 Content-Type application/x-java-serialized-object This is disabled 时,是否允许 java 序列化。如果启用此功能,请注意 Java 将反序列化来自请求的传入数据。这可能是潜在的安全风险。

false

布尔值

camel.component.vertx-http.autowired-enabled

是否启用自动关闭。这用于自动关闭选项(选项必须标记为 autowired),方法是在 registry 中查找查找是否有单个匹配类型实例,然后在组件上配置。这可以用于自动配置 JDBC 数据源、JMS 连接工厂、AWS 客户端等。

true

布尔值

camel.component.vertx-http.basic-auth-password

用于基本身份验证的密码。

 

字符串

camel.component.vertx-http.basic-auth-username

用于基本身份验证的用户名。

 

字符串

camel.component.vertx-http.bearer-token

用于 bearer 令牌身份验证的 bearer 令牌。

 

字符串

camel.component.vertx-http.enabled

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

 

布尔值

camel.component.vertx-http.header-filter-strategy

使用自定义 org.apache.camel.spi.HeaderFilterStrategy 过滤标头到 Camel 消息。选项是一个 org.apache.camel.spi.HeaderFilterStrategy 类型。

 

HeaderFilterStrategy

camel.component.vertx-http.lazy-start-producer

生成者是否应懒惰启动 (在第一个消息中)。通过懒惰启动,您可以使用此选项来允许 CamelContext 和路由在生成者启动期间启动,并导致路由启动失败。通过懒惰启动,启动失败可以在路由信息时通过 Camel 的路由错误处理程序进行处理。请注意,在处理第一个消息时,创建并启动生成者可能需要稍等时间,并延长处理的总处理时间。

false

布尔值

camel.component.vertx-http.proxy-host

代理服务器主机地址。

 

字符串

camel.component.vertx-http.proxy-password

如果需要身份验证,代理服务器密码。

 

字符串

camel.component.vertx-http.proxy-port

代理服务器端口。

 

整数

camel.component.vertx-http.proxy-type

代理服务器类型。

 

ProxyType

camel.component.vertx-http.proxy-username

如果需要身份验证,代理服务器用户名。

 

字符串

camel.component.vertx-http.response-payload-as-byte-array

响应正文应该是 byte 或 io.vertx.core.buffer.Buffer。

true

布尔值

camel.component.vertx-http.ssl-context-parameters

使用 SSLContextParameters 配置安全性。选项是 org.apache.camel.support.jsse.SSLContextParameters 类型。

 

SSLContextParameters

camel.component.vertx-http.use-global-ssl-context-parameters

启用使用全局 SSL 上下文参数。

false

布尔值

camel.component.vertx-http.vertx

使用现有的 vertx 而不是创建新实例。选项是 io.vertx.core.Vertx 类型。

 

Vertx

camel.component.vertx-http.vertx-http-binding

自定义 VertxHttpBinding,它可以控制如何在 Vert.x 和 Camel 之间绑定。选项是 org.apache.camel.component.vertx.http.VertxHttpBinding 类型。

 

VertxHttpBinding

camel.component.vertx-http.vertx-options

为配置 vertx 提供一组自定义 vertx 选项。选项是 io.vertx.core.VertxOptions 类型。

 

VertxOptions

camel.component.vertx-http.web-client-options

提供一组自定义选项来配置 vertx Web 客户端。选项是 io.vertx.ext.web.client.WebClientOptions 类型。

 

WebClientOptions

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat