重构完善消息收取机制。修改到MsgExchangeRunner中收取。

This commit is contained in:
zhouxiunai
2018-12-06 16:38:47 +08:00
parent 47e473d9b1
commit 367f610db4
5 changed files with 170 additions and 109 deletions
@@ -38,5 +38,11 @@ public class AppRunner implements CommandLineRunner {
redisService.set(RedisKeyConstant.KEY_WAITSCHDDATE,nowDate); //初始化消息进度
logger.info("发送获取动态航班日计划的消息完成");
//启动线程等待日航班计划消息返回
Thread t = new Thread(new SchdWaitRunner());
t.run();
}//end function run
}