use of org.apache.camel.component.rest.DummyRestConsumerFactory in project camel by apache.
the class CamelContextAddRestDefinitionsFromXmlTest 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 ManagedRestRegistryTest method createCamelContext.
@Override
protected CamelContext createCamelContext() throws Exception {
SimpleRegistry registry = new SimpleRegistry();
registry.put("dummy-test", new DummyRestConsumerFactory());
return new DefaultCamelContext(registry);
}
Aggregations