Spring - Asynchronous longpooling rest controller via "callable"

Implementation of an controller with asyncronous processing. This is a good solution for whenever a long pooling is needed.




Notes:
  • Though the controller seams to return imidiatelly the caller connection will still remain opened untl the results are returned. That is, this solution is not an answer to an "fire-and-forget" controller

Comments

Popular posts from this blog

spring @async causing BeanCurrentlyInCreationException

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted