You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Malisetti, Ramanjaneyulu" <Ra...@ca.com> on 2012/10/01 12:54:10 UTC
Detecting Timed-Out Client Requests
Hi,
Is there mechanism in CXF to detect Timed-out requests from Server side? I guess it is question to underlying Jetty, but as it is abstracted for CXF users, I am curious to know if there is any such support? If not directly, how can we achieve if we want to implement?
Regards
Raman
RE: Detecting Timed-Out Client Requests
Posted by "Malisetti, Ramanjaneyulu" <Ra...@ca.com>.
I don’t know on Jetty side. I'll explore and update you.
Regards
Raman
-----Original Message-----
From: Sergey Beryozkin [mailto:sberyozkin@gmail.com]
Sent: Thursday, October 11, 2012 7:45 PM
To: users@cxf.apache.org
Subject: Re: Detecting Timed-Out Client Requests
Hi
On 09/10/12 09:53, Freeman Fang wrote:
> Hi,
>
> I'm not sure what you mean by the "Timed-out requests from Server side".
> FYI, jetty do have a maxIdleTime property which default value is 200 sec, and CXF provide a way to configure this property. Take a look at related discussion[1], but it's all sever side thing.
>
Can Jetty callback when the timeout occurs on the server side ? if yes then we can introduce a CXF specific ConnectionCallback interface and then the frontends can utilize it...
Sergey
> [1]http://cxf.547215.n5.nabble.com/CXF-retrying-an-operation-td5072484
> .html
> -------------
> Freeman Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://fusesource.com | http://www.redhat.com/
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
>
> On 2012-10-1, at 下午6:54, Malisetti, Ramanjaneyulu wrote:
>
>> Hi,
>> Is there mechanism in CXF to detect Timed-out requests from Server side? I guess it is question to underlying Jetty, but as it is abstracted for CXF users, I am curious to know if there is any such support? If not directly, how can we achieve if we want to implement?
>>
>> Regards
>> Raman
>
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
Re: Detecting Timed-Out Client Requests
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 09/10/12 09:53, Freeman Fang wrote:
> Hi,
>
> I'm not sure what you mean by the "Timed-out requests from Server side".
> FYI, jetty do have a maxIdleTime property which default value is 200 sec, and CXF provide a way to configure this property. Take a look at related discussion[1], but it's all sever side thing.
>
Can Jetty callback when the timeout occurs on the server side ? if yes
then we can introduce a CXF specific ConnectionCallback interface and
then the frontends can utilize it...
Sergey
> [1]http://cxf.547215.n5.nabble.com/CXF-retrying-an-operation-td5072484.html
> -------------
> Freeman Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://fusesource.com | http://www.redhat.com/
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
>
> On 2012-10-1, at 下午6:54, Malisetti, Ramanjaneyulu wrote:
>
>> Hi,
>> Is there mechanism in CXF to detect Timed-out requests from Server side? I guess it is question to underlying Jetty, but as it is abstracted for CXF users, I am curious to know if there is any such support? If not directly, how can we achieve if we want to implement?
>>
>> Regards
>> Raman
>
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
Re: Detecting Timed-Out Client Requests
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
I'm not sure what you mean by the "Timed-out requests from Server side".
FYI, jetty do have a maxIdleTime property which default value is 200 sec, and CXF provide a way to configure this property. Take a look at related discussion[1], but it's all sever side thing.
[1]http://cxf.547215.n5.nabble.com/CXF-retrying-an-operation-td5072484.html
-------------
Freeman Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-10-1, at 下午6:54, Malisetti, Ramanjaneyulu wrote:
> Hi,
> Is there mechanism in CXF to detect Timed-out requests from Server side? I guess it is question to underlying Jetty, but as it is abstracted for CXF users, I am curious to know if there is any such support? If not directly, how can we achieve if we want to implement?
>
> Regards
> Raman
Re: Detecting Timed-Out Client Requests
Posted by Sergey Beryozkin <sb...@gmail.com>.
On 01/10/12 11:54, Malisetti, Ramanjaneyulu wrote:
> Hi,
> Is there mechanism in CXF to detect Timed-out requests from Server side? I guess it is question to underlying Jetty, but as it is abstracted for CXF users, I am curious to know if there is any such support? If not directly, how can we achieve if we want to implement?
One thing I know of is that JAX-RS 2.0 introduces an optional support
for notifying the users when the client times-out - I guess this will
drive the introduction of a CXF callback interface wrapping the
underlying servlet mechanism.
Perhaps the first step is to investigate, how to get the notification
from Jetty...
Thanks, Sergey
>
> Regards
> Raman
>