我已将Hawtio连接到karaf 4.2.1上的jlokia代理。但是我不明白如何将hawtio连接到部署在karaf或某些捆绑包中的骆驼路线(Spring DSL)?也许我需要在camelContext中设置jlokia代理?
如有任何建议,请帮助我。
Jolokia卡拉夫特工:
{"request":{"type":"version"},"value":{"agent":"1.6.0","protocol":"7.2","config":{"listenForHttpService":"true","authIgnoreCerts":"false","agentId":"10.183.173.218-4519-15cbbe6e-osgi","debug":"false","agentType":"servlet","policyLocation":"classpath:\/jolokia-access.xml","agentContext":"\/jolokia","serializeException":"false","mimeType":"text\/plain","dispatcherClasses":"org.jolokia.http.Jsr160ProxyNotEnabledByDefaultAnymoreDispatcher","authMode":"basic","streaming":"true","canonicalNaming":"true","historyMaxEntries":"10","allowErrorDetails":"true","allowDnsReverseLookup":"true","realm":"jolokia","includeStackTrace":"true","useRestrictorService":"false","debugMaxEntries":"100"},"info":{"product":"felix","vendor":"Apache","version":"5.6.10"}},"timestamp":1543929143,"status":200}
答案 0 :(得分:0)
您需要在Karaf上部署一些骆驼路线,以使Hawtio骆驼选项卡在Hawtio控制台上可见。您无需将Hawtio连接到远程Jolokia代理。 Hawtio可以如下安装在Karaf上:
feature:repo-add hawtio 2.3.0
feature:install hawtio