230.3. Spring Boot Auto-Configuration

组件支持 5 个选项,它们如下所列。

名称描述默认类型

camel.component.mqtt.enabled

启用 mqtt 组件

true

布尔值

camel.component.mqtt.host

要连接的 MQTT 代理的 URI,这个组件也支持 SSL -g. ssl://127.0.0.1:8883

 

字符串

camel.component.mqtt.password

用于对 MQTT 代理进行身份验证的密码

 

字符串

camel.component.mqtt.resolve-property-placeholders

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

true

布尔值

camel.component.mqtt.user-name

用于对 MQTT 代理进行身份验证的用户名

 

字符串