瀏覽代碼

定时任务

Jxing 6 年之前
父節點
當前提交
e95f994b78
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/sagacloud/route/InitEnvRoute.java

+ 2 - 1
src/main/java/com/sagacloud/route/InitEnvRoute.java

@@ -20,7 +20,8 @@ public class InitEnvRoute extends RouteBuilder {
     @Override
     public void configure() throws Exception {
 
-        fromF("timer://simpleTimer?period=1m").to("direct:syn");
+        fromF("timer://simpleTimer?period=30m").to("direct:syn");
+        fromF("timer://simpleTimer?period=30m").to("direct:synProjectName");
 
 
         from("direct:syn")