Home > Back-end >  For long polling in the Java client is there a way to achieve it
For long polling in the Java client is there a way to achieve it

Time:11-12

Third-party interface has been provided based on Http polling interface to the application feedback whether xx consumed

Application must be in the Http request, a separate thread by usually hang,

When there is a new message, the application should be accepted,

Application must ensure that the request does not interrupt, when successful message or for any reason the interrupt connection, the application must be immediately restore the polling,

Background applications is springboot excuse me this long polling is not interrupt request what's implementation in Java?

CodePudding user response:

SheduleThreadPool implementation

CodePudding user response:

The third-party interface is not achieved? You call a third-party interface is not good?
  • Related