Java CXF-http conf:正在忽略导管超时
我有一个CXF客户端,通过Spring配置如下:Java CXF-http conf:正在忽略导管超时,java,spring,http,cxf,Java,Spring,Http,Cxf,我有一个CXF客户端,通过Spring配置如下: <jaxws:client name="myWsService" serviceClass="${myws.serviceInterface}" address="${myws.wsdlDocumentUrl}" username="${myws.username}" password="${myws.password}"> </jaxws:cl
<jaxws:client name="myWsService"
serviceClass="${myws.serviceInterface}"
address="${myws.wsdlDocumentUrl}"
username="${myws.username}" password="${myws.password}">
</jaxws:client>
<!-- Configure timeout -->
<http-conf:conduit name="{http://127.0.0.1:9090/}MyWSSOAP.http-conduit">
<http-conf:client ConnectionTimeout="${myws.timeout}" ReceiveTimeout="${myws.timeout}"/>
</http-conf:conduit>
问题是,当我将超时设置为一个小值(例如1000)时,它仍然被忽略。请问我是不是遗漏了一些配置
编辑:我使用的是CXF版本2.4.1。我已经尝试更新到最新版本2.6.15,但仍然忽略了http conf:conductor的超时值
另外请注意,我已设置了
,并且该设置工作正常,即遵守超时
有没有一种方法可以识别运行时使用的导管?通过使用导管的正则表达式版本来分类此导管:
<http-conf:conduit name="http://127.0.0.1:9090/.*">
希望你会发现这个答案很有用
<http-conf:conduit name="http://127.0.0.1:9090/.*">