Package org.apache.camel
Interface RoutesBuilder
-
public interface RoutesBuilder
A routes builder is capable of building routes using the builder and model classes. Eventually the routes are added to aCamelContext
where they run inside.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRoutesToCamelContext(CamelContext context)
Adds the routes from this Route Builder to the CamelContext.
-
-
-
Method Detail
-
addRoutesToCamelContext
void addRoutesToCamelContext(CamelContext context) throws Exception
Adds the routes from this Route Builder to the CamelContext.- Parameters:
context
- the Camel context- Throws:
Exception
- is thrown if initialization of routes failed
-
-