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

Hibernate - HibernateException: createQuery is not valid without active transaction