java - CXF - http-conf:conduit timeout is being ignored -



java - CXF - http-conf:conduit timeout is being ignored -

i have cxf client, configured through spring follows:

<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>

the address webservice is

http://127.0.0.1:9090/myws

the problem when set timeout little value (e.g. 1000), still beingness ignored. missing configuration somewhere please?

edit: using cxf version 2.4.1. have tried updating latest version, 2.6.15, still http-conf:conduit's timeout value ignored.

note have set <http-conf:conduit name="*.http-conduit"> , works correctly, i.e. timeout respected.

is there way identify conduit used @ runtime?

sorted 1 out using regex version of conduit:

<http-conf:conduit name="http://127.0.0.1:9090/.*">

hope you'll find reply useful.

java spring http cxf

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -