68.4. Spring Boot Auto-Configuration


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

Expand
Name描述默认值类型

camel.component.cometd.enabled

启用发出的组件

true

布尔值

camel.component.cometd.extensions

要使用自定义 BayeuxServer.Extension 列表,允许修改传入和传出请求。

 

list

camel.component.cometd.resolve-property-placeholders

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

true

布尔值

camel.component.cometd.security-policy

使用自定义配置的 SecurityPolicy 来控制授权。选项是一个 org.cometd.bayeux.server.SecurityPolicy 类型。

 

字符串

camel.component.cometd.ssl-context-parameters

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

 

字符串

camel.component.cometd.ssl-key-password

使用 SSL 时密钥存储的密码。

 

字符串

camel.component.cometd.ssl-keystore

密钥存储的路径。

 

字符串

camel.component.cometd.ssl-password

使用 SSL 时的密码。

 

字符串

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

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

false

布尔值

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

以下是如何传递参数的一些示例

对于 file (用于 web 应用程序目录 -→ cometd://localhost:8080?resourceBase=file./webapp
for classpath)中(例如,web 资源被打包在 webapp 文件夹中 -→ cometd://localhost:8080?resourceBase=classpath:webapp)

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat