247.3. Spring Boot Auto-Configuration
组件支持 14 个选项,它们如下所列。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
camel.component.olingo4.configuration.api-name | 要执行的操作种类 | Olingo4ApiName | |
camel.component.olingo4.configuration.connect-timeout | HTTP 连接创建超时,以毫秒为单位,默认为 30,000 (30 秒) | 30000 | 整数 |
camel.component.olingo4.configuration.content-type | content-Type 标头值可以用来指定 JSON 或 XML 消息格式,默认为 application/json;charset=utf-8 | application/json;charset=utf-8 | 字符串 |
camel.component.olingo4.configuration.http-async-client-builder | 自定义 HTTP async 客户端构建器用于更复杂的 HTTP 客户端配置,覆盖 connectionTimeout、socketTimeout、代理和 sslContext。请注意,在构建器中指定 socketTimeout MUST,否则 OData 请求可能会无限期阻断 | HttpAsyncClientBuilder | |
camel.component.olingo4.configuration.http-client-builder | 自定义 HTTP 客户端构建器用于更复杂的 HTTP 客户端配置,覆盖 connectionTimeout、socketTimeout、代理和 sslContext。请注意,在构建器中指定 socketTimeout MUST,否则 OData 请求可能会无限期阻断 | HttpClientBuilder | |
camel.component.olingo4.configuration.http-headers | 要注入每个请求的自定义 HTTP 标头,这可能包括 OAuth 令牌等。 | map | |
camel.component.olingo4.configuration.method-name | 用于所选操作的子操作 | 字符串 | |
camel.component.olingo4.configuration.proxy | HTTP 代理服务器配置 | HttpHost | |
camel.component.olingo4.configuration.service-uri | 目标 OData 服务基础 URI,例如 http://services.odata.org/OData/OData.svc | 字符串 | |
camel.component.olingo4.configuration.socket-timeout | HTTP 请求超时(毫秒)默认为 30,000 (30 秒) | 30000 | 整数 |
camel.component.olingo4.configuration.ssl-context-parameters | 使用 SSLContextParameters 配置安全性 | SSLContextParameters | |
camel.component.olingo4.enabled | 启用 olingo4 组件 | true | 布尔值 |
camel.component.olingo4.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |
camel.component.olingo4.use-global-ssl-context-parameters | 启用使用全局 SSL 上下文参数。 | false | 布尔值 |