【发布时间】:2017-06-28 12:10:33
【问题描述】:
可以通过camel cxf uri选项设置客户端超时吗?
可以设置cxf://someAddress?[options],其中options 可以是properties.XXX。
可以以某种方式设置http客户端接收超时吗?
我尝试了很多(在源代码中或通过谷歌找到),但没有一个有效:
properties.com.sun.xml.ws.request.timeout
properties.com.sun.xml.internal.ws.request.timeout
properties.javax.xml.ws.client.receiveTimeout
properties.org.apache.cxf.jms.client.timeout
properties.org.apache.cxf.transport.http.async.SO_TIMEOUT
properties.conduit.client.ReceiveTimeout
properties.org.apache.cxf.transports.http.configuration.client.ReceiveTimeout
properties.http-conf:client.ReceiveTimeout
properties.HTTPClientPolicy.ReceiveTimeout
properties.org.apache.cxf.http.conduits.client.ReceiveTimeout
properties.org.apache.cxf.http.conduit.client.ReceiveTimeout
properties.org.apache.cxf.transports.http.configuration.HTTPClientPolicy.ReceiveTimeout
我知道可以使用 sprinx xml,但我希望它可以通过 Talend 上下文进行配置。
我也知道可以通过CxfEndpointConfigurer bean配置cxf客户端,但是camel 2.13(无法升级)没有configureClient方法。
谢谢你的回答。
【问题讨论】:
标签: java web-services apache-camel cxf talend