use of org.jboss.gravia.runtime.Runtime in project wildfly-camel by wildfly-extras.
the class CamelContextFactoryService method start.
@Override
public void start(StartContext startContext) throws StartException {
contextFactory = new CamelContextFactoryImpl();
// Register the service with gravia
Runtime runtime = injectedRuntime.getValue();
ModuleContext syscontext = runtime.getModuleContext();
registration = syscontext.registerService(CamelContextFactory.class, contextFactory, null);
}
Aggregations