【问题标题】:apache camel cxf soap client example connection timeout settingapache camel cxf soap客户端示例连接超时设置
【发布时间】:2018-03-08 04:20:52
【问题描述】:

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

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

【问题讨论】:

    标签: camel-cxf


    【解决方案1】:

    试试这个。请注意,连接超时设置为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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多