【发布时间】:2018-03-08 04:20:52
【问题描述】:
如何在camel cxf中设置客户端连接超时。 以下链接问了同样的问题, Camel CXF: Soap client timeout
但是如何将 http-conf:conduit 应用到 cxf 设置中。 谁能提供样品?
【问题讨论】:
标签: camel-cxf
如何在camel cxf中设置客户端连接超时。 以下链接问了同样的问题, Camel CXF: Soap client timeout
但是如何将 http-conf:conduit 应用到 cxf 设置中。 谁能提供样品?
【问题讨论】:
标签: camel-cxf
试试这个。请注意,连接超时设置为http-conf:client 而不是http-conf:conduit。声明以下 sn-p 并且不要忘记将 SoapPort 替换为您自己的。
<http-conf:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit">
<http-conf:client Connection="Keep-Alive" MaxRetransmits="1" AllowChunking="false" />
</http-conf:conduit>
更多详情here
【讨论】: