[
https://issues.apache.org/jira/browse/ARTEMIS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438787#comment-17438787
]
ASF subversion and git services commented on ARTEMIS-649:
---------------------------------------------------------
Commit 4367ec40a6561eb6d9a93c778d3141db5d8959bb in activemq-artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=4367ec4 ]
ARTEMIS-649 deprecate the HTML based JMX reports
The HTML output methods are hold-overs from way back when the code-base
started off as JBoss Messaging 2 and the broker mainly ran in JBoss AS 4
and 5 which leveraged an HTML-based JMX console where these methods
would be executed and spit out nicely formatted data. That stuff has all
long since been retired so this commit deprecates the HTML-based
management methods so they can be removed completely in a future release.
JSON is a better structured output format for this and most of the
deprecated methods have JSON alternatives.
> Improve or deprecate the HTML based JMX reports.
> ------------------------------------------------
>
> Key: ARTEMIS-649
> URL: https://issues.apache.org/jira/browse/ARTEMIS-649
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: John D. Ament
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> ActiveMQServerControlImpl, JMSServerManagerImpl uses Java to generate HTML,
> for a status report
> This can be done better with templating tools like freemarker or velocity,
> and alleviate the manual string manipulation. We can also leverage the type
> safe POJOs.
> Or, it looks like these methods are generally not recommended for use (see
> discussion below). Based on this, we may want to consider deprecating
> instead of replacing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)