use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class OsgiLanguageResolverTest method testOsgiResolverFindLanguageTest.
@Test
public void testOsgiResolverFindLanguageTest() throws IOException {
CamelContext camelContext = new DefaultCamelContext();
OsgiLanguageResolver resolver = new OsgiLanguageResolver(getBundleContext());
Language language = resolver.resolveLanguage("simple", camelContext);
assertNotNull("We should find simple language", language);
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class CometdProducerConsumerInOutInteractiveMain method testCometdProducerConsumerInteractive.
public void testCometdProducerConsumerInteractive() throws Exception {
context = new DefaultCamelContext();
context.addRoutes(createRouteBuilder());
context.start();
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class CometdProducerConsumerInteractiveAuthenticatedMain method testCometdProducerConsumerInteractive.
public void testCometdProducerConsumerInteractive() throws Exception {
context = new DefaultCamelContext();
context.addRoutes(createRouteBuilder());
context.start();
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class CometdProducerConsumerInteractiveExtensionMain method testCometdProducerConsumerInteractive.
public void testCometdProducerConsumerInteractive() throws Exception {
context = new DefaultCamelContext();
context.addRoutes(createRouteBuilder());
context.start();
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class CometdProducerConsumerInteractiveMain method testCometdProducerConsumerInteractive.
public void testCometdProducerConsumerInteractive() throws Exception {
context = new DefaultCamelContext();
context.addRoutes(createRouteBuilder());
context.start();
}
Aggregations