|
@@ -163,7 +163,6 @@ public class Route extends ExceptionHandlerBaseRoute {
|
|
//同步全部项目的资产信息
|
|
//同步全部项目的资产信息
|
|
from("direct:syncAllProject")
|
|
from("direct:syncAllProject")
|
|
.process(exchange -> {
|
|
.process(exchange -> {
|
|
- System.out.println("someThing happened");
|
|
|
|
exchange.setProperty("projectList", ProPasCache.pjList);
|
|
exchange.setProperty("projectList", ProPasCache.pjList);
|
|
log.warn("统计数据开始更新");
|
|
log.warn("统计数据开始更新");
|
|
})
|
|
})
|
|
@@ -265,7 +264,6 @@ public class Route extends ExceptionHandlerBaseRoute {
|
|
inserJson.put("criterias", criterias);
|
|
inserJson.put("criterias", criterias);
|
|
//log.info("数据:" + inserJson.toString());
|
|
//log.info("数据:" + inserJson.toString());
|
|
exchange.getIn().setBody(inserJson.toString());
|
|
exchange.getIn().setBody(inserJson.toString());
|
|
- System.out.println(inserJson.toString());
|
|
|
|
exchange.getIn().setHeader(Exchange.HTTP_URI, InitEnvRoute.venders + "/auxiliary/project/create");
|
|
exchange.getIn().setHeader(Exchange.HTTP_URI, InitEnvRoute.venders + "/auxiliary/project/create");
|
|
exchange.getIn().setHeader(Exchange.HTTP_METHOD, "POST");
|
|
exchange.getIn().setHeader(Exchange.HTTP_METHOD, "POST");
|
|
exchange.setProperty("CamelCharsetName", "utf-8");
|
|
exchange.setProperty("CamelCharsetName", "utf-8");
|