@Async
method in @Service
annotated class in standalone Spring Boot application doesn\'t run asynchronously. What am I doing wrong?
When I
Calling async method from within the same class would trigger the original method and not the intercepted one. You need to create another service with the async method, and call it from your service.
Spring creates a proxy for each service and component you create using the common annotations. Only those proxies contain the wanted behavior defined by the method annotations such as the Async. So, calling those method not via the proxy but by the original naked class would not trigger those behaviors.