Sergey, how should we adopt this approach to jax-rs services? Which is there jax-rs analogs to AbstractPhaseInterceptor<Message> ?
2016-01-15 16:19 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: > Hi > > CXF ships its own throttling feature, Dan did it, see > > > https://fisheye6.atlassian.com/browse/cxf/distribution/src/main/release/samples/throttling > > The threads will be temporarily suspended If the threshold is reached. > One thing that still needs to be done is to support actually returning 503 > (if preferred) as opposed to suspending the clients. > > Sergey > > > On 15/01/16 11:12, Vjacheslav V. Borisov wrote: > >> Hi, >> >> How to limit concurrent requests served by specific resource, or by >> application iteself? >> >> Found this thread >> >> http://stackoverflow.com/questions/5563442/how-to-set-limit-to-the-number-of-concurrent-request-in-servlet >> >> Should i do something like showed in accepted answer, >> or cxf has his limit configuration ? >> >> > > -- > Sergey Beryozkin > > Talend Community Coders > http://coders.talend.com/ >