提交xml转object 代码 ,使用jaxb 注解。同时忽略未知字段
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user