public interface RoutesBuilderLoader extends StaticService, CamelContextAware
RoutesBuilder
from a Resource
.Modifier and Type | Field and Description |
---|---|
static String |
FACTORY_GROUP
Service factory group.
|
static String |
FACTORY_PATH
Service factory base path for language specific loaders.
|
Modifier and Type | Method and Description |
---|---|
String |
getSupportedExtension()
The supported file extension.
|
RoutesBuilder |
loadRoutesBuilder(Resource resource)
Loads
RoutesBuilder from Resource . |
getCamelContext, setCamelContext, trySetCamelContext
static final String FACTORY_PATH
static final String FACTORY_GROUP
String getSupportedExtension()
RoutesBuilder loadRoutesBuilder(Resource resource) throws Exception
RoutesBuilder
from Resource
.resource
- the resource to be loaded.RoutesBuilder
Exception
Apache Camel