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.