Details
Description
Currently when embedding QFJ inside a ResourceAdapter we end up with double the Threads running as we have to hand-off from QFJ ('dirty') Threads to the ResourceAdapter WorkManager ('clean') Threads before calling back into the EJB side of the container. Using 'clean' Threads for this is a requirement of the JCA/ResourceAdapter contracts.
To eliminate the extra Threads and hand-off context switching we need to be able to request QFJ to use the 'clean' Threads directly.