use of org.apache.camel.component.rest.DummyRestConsumerFactory in project camel by apache.
the class ManagedFromRestGetTest method createCamelContext.
@Override
protected CamelContext createCamelContext() throws Exception {
SimpleRegistry registry = new SimpleRegistry();
registry.put("dummy-test", new DummyRestConsumerFactory());
return new DefaultCamelContext(registry);
}
use of org.apache.camel.component.rest.DummyRestConsumerFactory in project camel by apache.
the class LoadRestFromXmlTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("dummy-rest", new DummyRestConsumerFactory());
jndi.bind("dummy-rest-api", new DummyRestProcessorFactory());
return jndi;
}
use of org.apache.camel.component.rest.DummyRestConsumerFactory in project camel by apache.
the class RouteIdFactoryTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("dummy-rest", new DummyRestConsumerFactory());
jndi.bind("dummy-rest-api", new DummyRestProcessorFactory());
return jndi;
}
use of org.apache.camel.component.rest.DummyRestConsumerFactory in project camel by apache.
the class ManagedFromRestGetEmbeddedRouteTest method createCamelContext.
@Override
protected CamelContext createCamelContext() throws Exception {
SimpleRegistry registry = new SimpleRegistry();
registry.put("dummy-test", new DummyRestConsumerFactory());
return new DefaultCamelContext(registry);
}
use of org.apache.camel.component.rest.DummyRestConsumerFactory in project camel by apache.
the class ManagedFromRestPlaceholderTest method createCamelContext.
@Override
protected CamelContext createCamelContext() throws Exception {
SimpleRegistry registry = new SimpleRegistry();
registry.put("dummy-test", new DummyRestConsumerFactory());
CamelContext answer = new DefaultCamelContext(registry);
PropertiesComponent pc = new PropertiesComponent();
pc.setLocation("classpath:org/apache/camel/management/rest.properties");
answer.addComponent("properties", pc);
return answer;
}
Aggregations