hi,
you need to set the timeout at your http conduit configuration.
there are various ways to set this property depending on how you
configure your client, which are described at
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html

regards, aki

2013/9/19 Faz <[email protected]>:
> Hi All,I have the below piece of code which I was trying,Basically, am just
> trying to hold the current thread for about 100 secs (cos in real time, my
> query will take nearly a minute to execute and return the value). So just to
> replicate this, when i tried the above, WS is throwing exception saying
> 'could not send message' and "Read Timed out".I even tried setting the
> request and connection timeout variables as below in my CLient,        But
> no luck, it throeing the error message in a few seconds and if i remove the
> Sleep stuff, it works fine.. Please advice!
>
>
>
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Timeout-and-CXF-tp5734286.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to