363.3. Spring Boot Auto-Configuration

组件支持 8 个选项,如下所示。

名称描述默认类型

camel.component.vertx.enabled

启用 vertx 组件

true

布尔值

camel.component.vertx.host

创建嵌入式集群事件Bus的主机名

 

字符串

camel.component.vertx.port

创建嵌入式集群事件Bus 的端口

 

整数

camel.component.vertx.resolve-property-placeholders

启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。

true

布尔值

camel.component.vertx.timeout

等待集群的 Vertx 事件Bus 就绪超时(以秒为单位)。默认值为 60。

60

整数

camel.component.vertx.vertx

使用给定的 vertx EventBus 而不是创建新的嵌入式事件Bus。选项为 io.vertx.core.Vertx 类型。

 

字符串

camel.component.vertx.vertx-factory

使用自定义 VertxFactory 实现。选项是一个 io.vertx.core.spi.VertxFactory 类型。

 

字符串

camel.component.vertx.vertx-options

用于创建 vertx 的选项。选项是一个 io.vertx.core.VertxOptions 类型。

 

字符串

Camel 2.12.3: 发送到 vertx 端点时,使用 publish/subscribe 而不是指向点的发布/订阅。

You can append query options to the URI in the following format, ?option=value&option=value&...