在Apache骆驼Spring Boot Starter 2.21.2中配置httpClientBuilder

时间:2018-09-05 12:34:17

标签: spring-boot apache-camel olingo

美好的一天,

Apache Camel的新手。我有一个现有的Spring Boot应用程序,该应用程序针对各种事务调用MS Dynamics WebAPI odata服务,并且当前正在使用Spring RestTemplate和http4client。

我想使用Camel和Olingo4进行重构,但似乎无法弄清楚如何设置自定义httpClientBuilder。我对如何做到这一点尚不清楚。我需要设置NTLM凭据,默认的ODATA http标头,超时和http连接池。

它确实提到了以下spring boot属性,但我认为2.21.2骆驼版本中不可用。

camel.component.olingo4.configuration.http-client-builder

我确实准备使用Spring bean来设置我的httpclientbuilder(现在将其用于REstTemplate),但是如何将其连接到我的骆驼Olingo4组件上呢?

0 个答案:

没有答案