I would like to configure a webservice so that once the accept queue is full the service returns 503. Currently, these requests seem to just time out.
I did set paramters like maxThreads and acceptQueuesize (as described here: http://www.restlet.org/documentation/1.1/ext/com/noelios/restlet/ext/jetty/JettyServerHelper).
But the service does not respond with 503 once the acceptQueue is full.
It seems jetty's ThrottlingFilter (http://www.mortbay.org/jetty/jetty-6/apidocs/index.html?index-all.html) is what I'm looking for, but I don't know how to apply within my restlet service.