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 implementationCodePudding user response:
The third-party interface is not achieved? You call a third-party interface is not good?