本文整理汇总了Java中org.apache.camel.spring.Main.main方法的典型用法代码示例。如果您正苦于以下问题:Java Main.main方法的具体用法?Java Main.main怎么用?Java Main.main使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.camel.spring.Main
的用法示例。
在下文中一共展示了Main.main方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testCamelRulesDeployCorrectlyInSpring
import org.apache.camel.spring.Main; //导入方法依赖的package包/类
public void testCamelRulesDeployCorrectlyInSpring() throws Exception {
// let's boot up the Spring application context for 2 seconds to check that it works OK
Main.main("-duration", "2s", "-o", "target/site/cameldoc");
}
示例2: testEtlRoutes
import org.apache.camel.spring.Main; //导入方法依赖的package包/类
public void testEtlRoutes() throws Exception {
// let's boot up the Spring application context for 5 seconds to check that it works OK
Main.main("-duration", "5s", "-o", "target/site/cameldoc");
}
示例3: main
import org.apache.camel.spring.Main; //导入方法依赖的package包/类
/**
* A main() so we can easily run these routing rules in our IDE
*/
public static void main(String... args) throws Exception {
Main.main(args);
}
示例4: testSpringDeployment
import org.apache.camel.spring.Main; //导入方法依赖的package包/类
public void testSpringDeployment() throws Exception {
// boot up the Spring application context for 2 seconds
Main.main("-duration", "2s", "-o", "target/vista");
}
示例5: testSpringDeployment
import org.apache.camel.spring.Main; //导入方法依赖的package包/类
public void testSpringDeployment() throws Exception {
// boot up the Spring application context for 2 seconds
Main.main("-duration", "600s", "-o", "target/vista");
}