You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by slssb2 <ab...@gmail.com> on 2012/07/31 16:52:28 UTC
CXF time out issue
Hi,
I am using CXF 2.2.2. I configured the time out in the config file as below
<http-conf:conduit name="serviceName.http-conduit">
<http-conf:client ConnectionTimeout="500"/>
</http-conf:conduit>
But when i tried to test the timeout is ignored. I even tried by testing by
setting 1 millisecond.
I am new to CXF and all the info I read says it should work. I have no idea
whats causing the proble.
Any help is greatly appreciated.
Thanks,
--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-time-out-issue-tp5711763.html
Sent from the cxf-issues mailing list archive at Nabble.com.
Re: CXF time out issue
Posted by Aki Yoshida <el...@gmail.com>.
there are two timeout values. One is relevant for getting a connection
(ConnectionTimeout) and the other is relevant for receiving data from
the connection (ReceiveTimeout).
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-The%7B%7Bclient%7D%7Delement
and make sure that the port name is correct (the one that goes into
the name attribute) or else use the wildcard option "*.http-conduit"
to get the conduit setting picked up.
regards, aki
2012/7/31 slssb2 <ab...@gmail.com>:
> Hi,
>
> I am using CXF 2.2.2. I configured the time out in the config file as below
>
>
> <http-conf:conduit name="serviceName.http-conduit">
> <http-conf:client ConnectionTimeout="500"/>
> </http-conf:conduit>
>
>
> But when i tried to test the timeout is ignored. I even tried by testing by
> setting 1 millisecond.
>
> I am new to CXF and all the info I read says it should work. I have no idea
> whats causing the proble.
>
> Any help is greatly appreciated.
>
>
> Thanks,
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-time-out-issue-tp5711763.html
> Sent from the cxf-issues mailing list archive at Nabble.com.