org.apache.camel
Interface Routes

All Known Implementing Classes:
NoRouteBuilder, RouteBuilder

public interface Routes

Routes defined in the camel context.


Method Summary
 CamelContext getContext()
          Gets the Camel context used.
 List<Route> getRouteList()
          Gets the list of routes currently in the camel context.
 void setContext(CamelContext context)
          Sets the Camel context to use.
 

Method Detail

getContext

CamelContext getContext()
Gets the Camel context used.


setContext

void setContext(CamelContext context)
Sets the Camel context to use.


getRouteList

List<Route> getRouteList()
                         throws Exception
Gets the list of routes currently in the camel context.

Throws:
Exception


Copyright © 2009 Apache Software Foundation. All Rights Reserved.