#947 修复WxCpMessageRouter同时存在两个StandardSessionManager的问题

This commit is contained in:
shilianwang
2019-03-01 15:00:56 +08:00
committed by Binary Wang
parent 1e23b3b743
commit 28affd2d11
3 changed files with 13 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ public class WxCpMessageRouter {
this.wxCpService = wxCpService;
this.executorService = Executors.newFixedThreadPool(DEFAULT_THREAD_POOL_SIZE);
this.messageDuplicateChecker = new WxMessageInMemoryDuplicateChecker();
this.sessionManager = new StandardSessionManager();
this.sessionManager = wxCpService.getSessionManager();
this.exceptionHandler = new LogExceptionHandler();
}