org.apache.camel
Interface RoutesBuilder

All Known Implementing Classes:
AdviceWithRouteBuilder, CafeRouteBuilder, CamelCxfExample.MyRouteBuilder, CamelRoute, CamelRouterBuilder, Client, Customer, EtlRoutes, GroovyRouteBuilder, IncrementRoute, JmsToFileRoute, LoanBroker, LoanBroker, MyActivities, MyRouteBuilder, MyRouteBuilder, MyRouteBuilder, MyRouteBuilder, MyRouteBuilder, ProcessBuilder, ReportIncidentRoutes, RouteBuilder, ScriptRouteBuilder, ServerRoutes, SpringRouteBuilder, TutorialRouteBuilder, TutorialRouteBuilder

public interface RoutesBuilder

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

Eventually the routes is 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