org.apache.camel
Interface RoutesBuilder

All Known Implementing Classes:
AdviceWithRouteBuilder, RouteBuilder

public interface RoutesBuilder

A routes builder is capable of building routes using the builder and model classes.

Eventually the routes are added to a CamelContext where they run inside.


Method Summary
 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


Apache CAMEL