问题描述
我们的应用是企业应用程序,它包含多个Web应用程序。每个Web应用程序包含一个或多个骆驼上下文。最近,我们正在探索使用HawtIO用于监控和管理目的的选项。
我们使用骆驼(保险丝)版本 - 2.12.0.redhat-610379 是 Wildfly 8.1 (开发ENV -prod是WAS8.5)。我曾尝试与HawtIO Web应用程序版本从1.4.10到14,并没有SLF4J版本。但HawtIO只显示最大3 camelcontext。我试图给managementNamePattern很好,但仍然没有结果阳性。
如果我注释掉一些上市骆驼上下文,那么另外一个是上市。请注意,每个骆驼方面将包含约10至15条航线和端点(春豆)将围绕30。
但我能找到非上市骆驼背景下JMX仪表板下org.apache.camel。请让我知道任何工作围绕它,或者如果我缺少一些配置。我的骆驼方面将涉及多个路由环境。
Our application is enterprise application which contains multiple web application. Each web application contains one or more camel context. Recently we are exploring the option of using HawtIO for monitoring and administrative purposes.We are using camel (fuse) version -2.12.0.redhat-610379 with Wildfly 8.1(Dev env -prod being WAS8.5). I have tried with HawtIO web app version ranging from 1.4.10 to 14 and with no-slf4j version as well. But HawtIO is showing maximum 3 camelcontext only. I have tried giving managementNamePattern as well but still no postive results.If I comment out some of listed camel contexts then other one are getting listed. Please note that each camel context would contain around 10 to 15 routes and endpoint (spring beans) will be around 30 .But I am able to find unlisted camel context in JMX Dashboard under org.apache.camel. Kindly let me know any work around for it or if I am missing something in configuration. My camel context would refer multiple route context.
推荐答案
不知道,如果你还需要知道这一点,但你可能需要做的是在HawtIO preferences,椒下,增加最大集合的大小,作为HawtIO只是抓住一切,然后出现在客户端进行过滤,所以如果你有很多的MBean,你不会看到的一切(因为它默认情况下只取前500个条目)。
Not sure if you still need to know this, but what you may need to do is in the HawtIO preferences, under Jolokia, increase the "Max Collection Size", as HawtIO just grabs everything and then appears to filter on the client side, so if you have a lot of MBeans, you won't see everything (as it only fetches the first 500 entries by default).
我有一个类似的问题 - 但是当我看到所有的骆驼上下文中,我没有看到所有的路线,这是很大的问题,我
I had a similar issue - but while I was seeing all the camel contexts, I was not seeing all the routes, which was the big issue for me.
默认为500。我把它提高到5000,这是对我来说足够。你不妨尝试与自己摆弄,看看它是否有差别。
It defaults to 500. I increased it to 5000, which was enough for me. You may wish to try fiddling with that yourself, and see if it makes a difference.
这篇关于HawtIO +骆驼插件 - 多重背景没有显示出来 - 限制MAX3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!