camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Getting route info problems
Date Tue, 08 Oct 2013 13:03:26 GMT
There is API on CamelContext to get route information,

getRoute
getRouteDefinition

This allows you to get the runtime route and the model route.



On Tue, Oct 8, 2013 at 1:10 PM, l.muscari <l.muscari@reply.it> wrote:
> UPDATE:
>
> i'am able to resolve every endpoints loaded in camel context. and in this
> way i get every "from" and "to" information i need.
> the problem now is associate the single endpoints to the relative route. i
> do something like this:
>
> Collection<Endpoint> e ;
> e = context.getEndpoints();
>
> then visit e with iterator, and i get all "from" and "to" info loaded in
> camel context in random order.
> i can't find a way to get the route associate at the endpoints.
>
> Can you help me??
> many thanks
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Getting-route-info-problems-tp5741123p5741128.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message