Search in sources :

Example 1 with DummyRestProcessorFactory

use of org.apache.camel.component.rest.DummyRestProcessorFactory 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;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) DummyRestProcessorFactory(org.apache.camel.component.rest.DummyRestProcessorFactory) DummyRestConsumerFactory(org.apache.camel.component.rest.DummyRestConsumerFactory)

Example 2 with DummyRestProcessorFactory

use of org.apache.camel.component.rest.DummyRestProcessorFactory 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;
}
Also used : DummyRestProcessorFactory(org.apache.camel.component.rest.DummyRestProcessorFactory) DummyRestConsumerFactory(org.apache.camel.component.rest.DummyRestConsumerFactory)

Example 3 with DummyRestProcessorFactory

use of org.apache.camel.component.rest.DummyRestProcessorFactory 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;
}
Also used : DummyRestProcessorFactory(org.apache.camel.component.rest.DummyRestProcessorFactory) DummyRestConsumerFactory(org.apache.camel.component.rest.DummyRestConsumerFactory)

Aggregations

DummyRestConsumerFactory (org.apache.camel.component.rest.DummyRestConsumerFactory)3 DummyRestProcessorFactory (org.apache.camel.component.rest.DummyRestProcessorFactory)3 JndiRegistry (org.apache.camel.impl.JndiRegistry)1