You can configure jetty handlers directly. I have even configured some spring security jee filters this way. If I have a chance I will hunt up an example and post it On 03/10/2014 2:26 AM, "sandarenu" <[email protected]> wrote:
> Hi all, > > I've a REST server developed using CXF and it uses Jetty Transport. I've > configured it with a thread-pool. During high load, response time become > very high since jetty accepts all incoming requests. Is there a way to > configure CXF to reject connections (at TCP level) once max number of > connections are reached. > > In jetty there is a DoSFilter, which is capable of doing above requirement. > But I'm not sure how to integrate that with CXF. I'm using Spring to setup > the CXF. > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Configure-DoSFilter-in-CXF-Jetty-Transport-tp5749395.html > Sent from the cxf-user mailing list archive at Nabble.com. >
