There is a getRouteDefinitions that gives you the model of the routes.

And for performancce metrics etc you can use JMX
http://camel.apache.org/camel-jmx.html


On Mon, Nov 11, 2013 at 7:34 AM, CamelTyro <328549...@qq.com> wrote:
> After startuping the camel context, how to get the infomation of a router.
>
> e.g.
> I start the camel by Spring. by injecting, I can get the camelContext
> instance, defined in the spring configuration files.
>
> Then I get the list of route by context.getRoutes();
>
> By interating each route object, I can get the from url, id, isStarted etc,
> but how can I get the infomation about the destination, configed by the "to"
> clause. e.g. from(url1).to(url2);
>
> Besides, how can I get the throughput capacity of a route?
>
> Thanks Sincerely.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/how-to-get-the-target-url-of-a-router-tp5743001.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