0

如何在骆驼 cxf 中设置客户端连接超时。以下链接问了同样的问题, Camel CXF: Soap client timeout

但是如何将 http-conf:conduit 应用到 cxf 设置中。谁能提供样品?

4

1 回答 1

0

尝试这个。请注意,连接超时设置为http-conf:client而不是http-conf:conduit。声明以下代码段,不要忘记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>

更多细节在这里

于 2018-03-15T08:47:13.370 回答