camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CamelTyro <328549...@qq.com>
Subject Re: how to get the target url of a router
Date Mon, 11 Nov 2013 08:16:42 GMT
I can get the routedefinition instance by 
List<Route> routes = this.camelContext.getRoutes();
for (Route route : routes) {
	RouteDefinition routeDefinition = route.getRouteContext()
		.getRoute();
			
	routerInfos.add(routerInfo);
}
But I don't find a intuitionistic method to get the destination url,
Besides, the application startup the  camel context, so whether I can vistit
the mbean directly, without jmx.
Thanks.



--
View this message in context: http://camel.465427.n5.nabble.com/how-to-get-the-target-url-of-a-router-tp5743001p5743008.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message