[
https://issues.apache.org/jira/browse/ARTEMIS-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032921#comment-18032921
]
Grzegorz Grzybek commented on ARTEMIS-5427:
-------------------------------------------
[~jbertram]
bq. I assume the changes need to made in the web console rather than the
broker. Is that correct?
if by "web console" you mean
https://github.com/apache/activemq-artemis-console/ then yes - you should
simply put
[jolokia-integration-artemis-0.6.0.jar|https://repo1.maven.org/maven2/org/jolokia/integration/jolokia-integration-artemis/0.6.0/jolokia-integration-artemis-0.6.0.jar]
next to
[hawtio-system|https://github.com/apache/activemq-artemis-console/blob/e1f81984b8d283e10b0132856beadecd8033279a/artemis-console-war/pom.xml#L42-L46]
in artemis-console-war.
But for brokers running with {{-javaagent}} flavor of Jolokia (Jolokia JVM
Agent), you should put jolokia-integration-artemis into lib directory of the
broker - you should NOT use both. This is important in operator version of the
broker.
> Integrate Jolokia's MBeanInfo cache
> -----------------------------------
>
> Key: ARTEMIS-5427
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5427
> Project: ActiveMQ Artemis
> Issue Type: Task
> Components: Web Console
> Reporter: Justin Bertram
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> According to the [Jolokia
> documentation|https://jolokia.org/reference/html/manual/extensions.html#_mbeaninfo_cache]
> it's possible to reduce the JSON payload returned by Jolokia to, for
> example, the web console. However, we must provide a
> [{{org.jolokia.service.jmx.api.CacheKeyProvider}}|https://github.com/jolokia/jolokia/blob/main/service/jmx/src/main/java/org/jolokia/service/jmx/api/CacheKeyProvider.java]
> implementation and make it available via a service loader (e.g.
> [here|https://github.com/jolokia/jolokia/blob/main/service/jmx/src/main/resources/META-INF/jolokia/services-default]).
> We must also pass the {{listCache=true}} URL parameter from the web console.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact