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.musc...@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: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to