I am considering resiliency4j with my spring-boot-web microservice . As i understand with resiliency4j i can specify a separate threadpool for each of the target system . In my request processing path , there is also a segment of processing that happens after the call returns from the bulkhead and the response is returned . This part of the computation should happen in my tomcat threadpool . But as far as i have seen , there isn't any "handoff" mechanism available from resiliency4j that "returns" the control back to the calling thread.
Is there a standard way to achieve this ? ( Other than considering reactive programming - in the fixed thread pool world)
Asked
Active
Viewed 26 times
0

redzedi
- 1,957
- 21
- 31