提交xml转object 代码 ,使用jaxb 注解。同时忽略未知字段

This commit is contained in:
zhouxiunai
2018-12-07 18:46:43 +08:00
parent 63ffe59fd4
commit 5cbeb9a36b
4 changed files with 10 additions and 11 deletions
@@ -1,6 +1,7 @@
package com.gzzn.omms.msgexchangeapi.runner;
import java.util.Date;
import java.util.concurrent.Executors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -39,10 +40,6 @@ public class AppRunner implements CommandLineRunner {
logger.info("发送获取动态航班日计划的消息完成");
//启动线程等待日航班计划消息返回
Thread t = new Thread(new SchdWaitRunner());
t.run();
Executors.newFixedThreadPool(1).execute(new SchdWaitRunner());
}//end function run
}