329.3. Spring Boot Auto-Configuration

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

名称描述默认类型

camel.component.stomp.broker-u-r-l

要连接的 Stomp 代理的 URI

 

字符串

camel.component.stomp.configuration.broker-u-r-l

要连接的 Stomp 代理的 URI

tcp://localhost:61613

字符串

camel.component.stomp.configuration.host

虚拟主机名称

 

字符串

camel.component.stomp.configuration.login

用户名

 

字符串

camel.component.stomp.configuration.passcode

密码

 

字符串

camel.component.stomp.configuration.ssl-context-parameters

使用 SSLContextParameters 配置安全性

 

SSLContextParameters

camel.component.stomp.enabled

启用 stomp 组件

true

布尔值

camel.component.stomp.header-filter-strategy

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

 

字符串

camel.component.stomp.host

虚拟主机

 

字符串

camel.component.stomp.login

用户名

 

字符串

camel.component.stomp.passcode

密码

 

字符串

camel.component.stomp.resolve-property-placeholders

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

true

布尔值

camel.component.stomp.use-global-ssl-context-parameters

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

false

布尔值

您可以使用以下格式在 URI 中附加查询选项 ?option=value&option=value&…​