Hello everyone, In TomEE/Tomcat, there is a way to control the max number of parallel requests by setting maxThreads attribute value in Executor.
So, in a scenario where the number of concurrent requests exceeds this value, the requests are queued, right ? Is there a way to control the size of this queue so that if the number of requests (the ones in // plus we reach the max size of this queue), any new request is rejected with a 503 status code ? Best Regards. ________________________________ This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited. E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender. Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.
