在将我的应用程序(堆栈spring启动、camel、hystrix)从spring 1.5迁移到spring 2之后。我无法让hystrix指标出现在/actuator/prometheus中。/答案在定义上是正确的,我从零开始设置了一个简单的spring引导项目,其中包含一个简单的控制器、hystrix和上面的依赖项,并且度量标准确实出现在/ at
我需要侦听活动mq并调用rest post api来获取作为主体接收的数据,为此,我创建了简单的spring引导2.x应用程序,并试图启动路由器,但应用程序未能启动。我对注册路由器的理解是使用@Component指定一个类,它应该实现camel RouteBuilderpublic class Router extends RouteBuilderpublic void configure() throws Exception {
from