我有一个camel application which is running in spring boot 2
和骆驼路线是通过可视化的hawtio
。和all actuator endpoints are exposed including jolokia endpoint
this application is completely working in local
当我尝试在本地访问执行器端点时http://localhost:8080/actuator/
,我可以看到下面的端点以及其他 16 个端点(例如健康、信息等)
"jolokia": {
"href": "http://localhost:8080/actuator/jolokia",
"templated": false
}
我有deployed the in same Openshift
,但是当我尝试时,access actuator endpoints in Openshift
我可以看到only 16 endpoints without jolokia endpoint
应用程序启动登录local
INFO : Initializing Spring embedded WebApplicationContext
INFO : Root WebApplicationContext: initialization completed in 3543 ms
INFO : Registered '/actuator/jolokia' to jolokia-actuator-endpoint
INFO : Initialising hawtio services
INFO : Configuration will be discovered via system properties
INFO : Welcome to Hawtio 2.10.0
INFO : Starting hawtio authentication filter, JAAS authentication disabled
INFO : Initializing ExecutorService 'applicationTaskExecutor'
INFO : Detected and using LURCacheFactory: camel-caffeine-lrucache
INFO : Exposing 17 endpoint(s) beneath base path '/actuator'
应用程序启动登录Openshift
INFO : Initializing Spring embedded WebApplicationContext
INFO : Root WebApplicationContext: initialization completed in 3543 ms
INFO : Initialising hawtio services
INFO : Configuration will be discovered via system properties
INFO : Welcome to Hawtio 2.10.0
INFO : Starting hawtio authentication filter, JAAS authentication disabled
INFO : Initializing ExecutorService 'applicationTaskExecutor'
INFO : Detected and using LURCacheFactory: camel-caffeine-lrucache
INFO : Exposing 16 endpoint(s) beneath base path '/actuator'
INFO : Registered '/actuator/jolokia' to jolokia-actuator-endpoint
日志中缺少Openshift
,所以很明显它没有注册spring boot actuator
有什么想法why jolokia is not exposed via spring boot actuator
吗?
因此hawtio
无法访问骆驼路线(JMX)。