I was reading the documentation for developing a consumer
(http://cwiki.apache.org/CXF20DOC/developing-a-consumer.html). There was a
paragraph where it was mentioned that BindingProvider's getRequestContext()
can be used to set connection timeouts. Can someone provide me with an
example on how this can be achieved. I am looking at the key that I need to
use to set the connection timeout.

e.g
bindingProvider.getRequestContext().put("key.for.connection.timeout",1000);

I cannot using HttpConduit because I am using Spring's
JaxWsPortProxyFactoryBean which creates a JDKDynamicProxy for the Service
which cannot be passed to ClientProxy.getClient(). I want to change the
timeouts dynamicaly once I lookup the service using spring.

Any help in this regard will be appreciated.


Thanks
Vasu
-- 
View this message in context: 
http://www.nabble.com/CXF-Connection-timeout-using-BindingProvider-tp22796797p22796797.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to