cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: CXF Connection timeout using BindingProvider
Date Thu, 02 Apr 2009 21:35:36 GMT

I'm really not seeing any way to do this except by using a http-conduit 
setting in the spring config.   Nothing programmatic.  Possibly log a jira for 


On Mon March 30 2009 9:51:06 pm smodekurti wrote:
> I was reading the documentation for developing a consumer
> ( 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

Daniel Kulp

View raw message