【发布时间】:2019-04-29 06:20:56
【问题描述】:
我正在使用 Camel CXF 端点连接到我的肥皂服务器。我想为来自客户的请求添加超时。我为此使用 continuationTimeout 选项。但它不起作用。请求超时,没有等待我配置的时间。
下面是我的端点配置。
<camel-cxf:cxfEndpoint id="tmAPIWSEndpoint" address="http://IN2NPDCEDB01:8088/webservices/services/TransportationManager"
wsdlURL="/wsdl/TransportationManager.wsdl"
endpointName="cis:TransportationManagerPort"
serviceName="cis:TransportationManagerService"
xmlns:cis="http://www.i2.com/cis"
continuationTimeout="60000">
<camel-cxf:properties>
<entry key="dataFormat" value="MESSAGE"/>
<entry key="username" value="XXX"/>
<entry key="password" value="XXX"/>
</camel-cxf:properties>
</camel-cxf:cxfEndpoint>
【问题讨论】:
标签: apache-camel cxf