重构完善消息收取机制。修改到MsgExchangeRunner中收取。
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user