</split> </camelContext>在我的测试中,我试图像这样编织direct:bar端点:
context.getRouteDefinitions但是,当路由启动时,会抛出一个异常,表示org.apache.camel.NoSuchBeanException: No bean could be found in the registry for:
我希望将所有路由的开始/停止分离为一个类"RouteControl“(没有路由应该知道这个中央控制)。目前,所有配置的路由都是autostart=false,RouteControl注入CamelContext并执行以下操作: * Starts all routes found in contextlog.info("starting all routes.");
for (RouteDefinition route : ((ModelCamelContext) conte
我有调用cxfbean的路由:试着在我的测试中嘲弄这个Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: reservationService
我想在没有cxf实例化的情况下测试我的路由。