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& amp;option=value&…​

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

对于文件(对于 web Application directory -→ cometd://localhost:8080?resourceBase=file./webapp
for classpath 的资源) For classpath (当 web 资源被打包在 webapp 文件夹 -→ cometd://localhost:8080?resourceBase=classpath:webapp)中

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat