149.4. Spring Boot Auto-Configuration
组件支持 9 个选项,如下所示。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
camel.component.http.allow-java-serialized-object | 当请求使用 context-type=application/x-java-serialized-object (默认为 off)时,是否允许 java serialization。如果您启用此功能,Java 将把传入的数据从请求中反序列化为 Java,这可能会成为潜在的安全风险。 | false | 布尔值 |
camel.component.http.enabled | 启用 http 组件 | true | 布尔值 |
camel.component.http.header-filter-strategy | 使用自定义 org.apache.camel.spi.HeaderFilterStrategy 过滤来自 Camel 消息的标头。选项是一个 org.apache.camel.spi.HeaderFilterStrategy 类型。 | 字符串 | |
camel.component.http.http-binding | 使用自定义 HttpBinding 控制 Camel 消息和 HttpClient 之间的映射。选项是一个 org.apache.camel.http.common.HttpBinding 类型。 | 字符串 | |
camel.component.http.http-client-configurer | 使用自定义 HttpClientConfigurer 执行将使用的 HttpClient 的配置。选项是一个 org.apache.camel.component.http.HttpClientConfigurer 类型。 | 字符串 | |
camel.component.http.http-configuration | 使用共享 HttpConfiguration 作为基本配置。选项是一个 org.apache.camel.http.common.HttpConfiguration 类型。 | 字符串 | |
camel.component.http.http-connection-manager | 使用自定义 HttpConnectionManager 管理连接。选项是一个 org.apache.commons.httpclient.HttpConnectionManager 类型。 | 字符串 | |
camel.component.http.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |
camel.component.http.use-global-ssl-context-parameters | 启用使用全局 SSL 上下文参数。 | false | 布尔值 |