Cancel @Async Thread in Spring Boot
Before going to the cancel async example, please quickly check these two short articles because it might give you a better overview of what I’m saying. Stop thread execution Control thread using exceptions Premise: You have a Spring Boot app that needs to execute a long running task. You don’t want to have the user … Read more