]
Teresa Miyar Gil updated WFLY-12084:
------------------------------------
Release Notes Text: (was: The tests of JBEAP-13289 prove that when core-size=0 the
reject exceptions are thrown for the threads that exceed the maxThreadPoolSize. :
Allow core-size=0
-----------------
Key: WFLY-12084
URL:
https://issues.jboss.org/browse/WFLY-12084
Project: WildFly
Issue Type: Bug
Components: EE
Affects Versions: 17.0.0.Alpha1
Reporter: Teresa Miyar Gil
Assignee: Teresa Miyar Gil
Priority: Major
Getting WFLYEE0112: The core-threads value must be greater than 0 when the queue-length
is 0.
queue-length="0" core-threads="0" should be allowed to enable direct
hand off
and get REJECT exceptions.
Right now direct hand off is possible setting core-threads=1 but then no REJECT
exceptions are thrown.
Use case:queueSize=0, coreSize=0, maxSize=16 and have direct handoff. there will be no
REJECT unless we try to submit more than maxSize tasks concurrently. if we submit more
than maxSize concurrently, we expect to see REJECT.