On 28 October 2010 15:17, Ashwin Karpe <[email protected]> wrote:
>
> Hi,
>
> In any given processor, or any code that has access to a camel context, you
> could do the following
>
>       List<Route> routes = getCamelContext().getRoutes;

Or there's:

  List<RouteDefinition> definitions = getCamelContext().getRouteDefinitions()

if you want to look at the definitions (kinda like the XML DSL)

-- 
James
-------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: jstrachan
Blog: http://macstrac.blogspot.com/

Open Source Integration

Reply via email to