78.3. Spring Boot Auto-Configuration

组件支持 4 个选项,如下所示。

名称描述默认类型

camel.component.cxfrs.enabled

启用 cxfrs 组件

true

布尔值

camel.component.cxfrs.header-filter-strategy

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

 

字符串

camel.component.cxfrs.resolve-property-placeholders

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

true

布尔值

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

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

false

布尔值

您还可以通过 spring 配置配置 CXF REST 端点。由于 CXF REST 客户端和 CXF REST 服务器之间存在许多差异,因此我们为其提供了不同的配置。如需更多信息,请查看架构文件和 CXF JAX-RS 文档