14.5. 使用 route 命令 route 命令允许您在给定路由上轻松执行常见任务,例如启动路由,您可以向此端点发送空消息: template.sendBody("controlbus:route?routeId=foo&action=start", null); 要获取路由的状态,您可以: String status = template.requestBody("controlbus:route?routeId=foo&action=status", null, String.class); 前一个下一个