public interface RoutesBuilder
CamelContext
where they
run inside.Modifier and Type | Method and Description |
---|---|
void |
addRoutesToCamelContext(CamelContext context)
Adds the routes from this Route Builder to the CamelContext.
|
void addRoutesToCamelContext(CamelContext context) throws Exception
context
- the Camel contextException
- is thrown if initialization of routes failedApache Camel