12.2. Spring Boot Auto-Configuration


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

Expand
Name描述默认值类型

camel.component.atmosphere-websocket.allow-java-serialized-object

当请求使用 context-type=application/x-java-serialized-object 时,是否允许 java 序列化。默认情况下是关闭的。如果启用此选项,则 Java 会将传入数据从请求反序列化到 Java,这可能会成为潜在的安全风险。

false

布尔值

camel.component.atmosphere-websocket.attachment-multipart-binding

是否自动将多部分/格式数据绑定为 Camel Exchange 上的附件。选项 attachmentMultipartBinding=true 和 disableStreamCache=false 无法一起工作。删除 disableStreamCache 以使用 AttachmentMultipartBinding。默认情况下关闭此项,因为在使用 Servlet 时,这可能要求 servlet 特定的配置启用此功能。

false

布尔值

camel.component.atmosphere-websocket.enabled

启用tmosphere-websocket 组件

true

布尔值

camel.component.atmosphere-websocket.file-name-ext-whitelist

接受已上传文件的已接受文件名扩展名的白名单。多个扩展可以用逗号分开,如 txt,xml。

 

字符串

camel.component.atmosphere-websocket.header-filter-strategy

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

 

字符串

camel.component.atmosphere-websocket.http-binding

使用自定义 HttpBinding 来控制 Camel 消息和 HttpClient 之间的映射。选项是 org.apache.camel.http.common.HttpBinding 类型。

 

字符串

camel.component.atmosphere-websocket.http-configuration

将共享的 HttpConfiguration 用作基础配置。选项是 org.apache.camel.http.common.HttpConfiguration 类型。

 

字符串

camel.component.atmosphere-websocket.http-registry

使用自定义 org.apache.camel.component.servlet.HttpRegistry。选项是 org.apache.camel.component.servlet.HttpRegistry 类型。

 

字符串

camel.component.atmosphere-websocket.resolve-property-placeholders

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

true

布尔值

camel.component.atmosphere-websocket.servlet-name

要使用的默认 servlet 名称。默认名称为 CamelServlet。

CamelServlet

字符串

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat