246.3. Spring Boot Auto-Configuration


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

Expand
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

布尔值

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat