Limitations of @Async annotation

The @Async annotation has the following limitations:

  • The method needs to be public so that it can be proxied
  • Self-invocation of the asynchronous method would not work, because it bypasses the proxy and calls the underlying method directly
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset