Java Code Examples for org.apache.camel.catalog.DefaultCamelCatalog#setRuntimeProvider()

The following examples show how to use org.apache.camel.catalog.DefaultCamelCatalog#setRuntimeProvider() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CqCatalog.java    From camel-quarkus with Apache License 2.0 5 votes vote down vote up
public CqCatalog(Path baseDir) {
    super();
    final DefaultCamelCatalog c = new DefaultCamelCatalog(true);
    c.setRuntimeProvider(new CqRuntimeProvider(c));
    c.setVersionManager(new CqVersionManager(c, baseDir));
    this.catalog = c;
}
 
Example 2
Source File: QuarkusRuntimeProviderTest.java    From camel-quarkus with Apache License 2.0 4 votes vote down vote up
@BeforeAll
public static void createCamelCatalog() {
    catalog = new DefaultCamelCatalog();
    catalog.setRuntimeProvider(new QuarkusRuntimeProvider());
}
 
Example 3
Source File: SpringBootRuntimeProviderTest.java    From camel-spring-boot with Apache License 2.0 4 votes vote down vote up
@BeforeClass
public static void createCamelCatalog() {
    catalog = new DefaultCamelCatalog();
    catalog.setRuntimeProvider(new SpringBootRuntimeProvider());
}
 
Example 4
Source File: WildFlyRuntimeProviderTest.java    From wildfly-camel with Apache License 2.0 4 votes vote down vote up
@BeforeClass
public static void createCamelCatalog() {
    catalog = new DefaultCamelCatalog();
    catalog.setRuntimeProvider(new WildFlyRuntimeProvider());
}