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