Java 类org.apache.camel.spring.boot.CamelSpringBootApplicationController 实例源码

项目:fis-camel-spring-boot-demo    文件:Components.java   
@Bean
CamelSpringBootApplicationController applicationController(ApplicationContext applicationContext, CamelContext camelContext) {
    return new CamelSpringBootApplicationController(applicationContext, camelContext);
}
项目:funktion-connectors    文件:FunktionRouteBuilder.java   
public static void main(String[] args) {
    ApplicationContext applicationContext = new SpringApplication(FunktionRouteBuilder.class).run(args);
    CamelSpringBootApplicationController ctx = applicationContext.getBean(CamelSpringBootApplicationController.class);
    ctx.run();
}
项目:fcrepo-api-x    文件:Main.java   
/**
 * Standaline app main method.
 *
 * @param args arguments.
 */
public static void main(final String[] args) {

    SpringApplication.run(Main.class, args)
            .getBean(CamelSpringBootApplicationController.class).run();
}