wy96f commented on a change in pull request #2677: ARTEMIS-2350 Fix
ClassNotFoundException while invoking listConsumers
URL: https://github.com/apache/activemq-artemis/pull/2677#discussion_r287790726
##########
File path:
artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/JsonUtil.java
##########
@@ -275,11 +274,11 @@ public static JsonArrayBuilder toJsonArrayBuilder(byte[]
byteArray) {
}
public static JsonArray readJsonArray(String jsonString) {
- return Json.createReader(new StringReader(jsonString)).readArray();
Review comment:
With regard to test, we tried and it was somewhat tricky(we had to add jmx
configurations in system property and executed "artemis run" in a standalone
process).
By the way, previous artemis server exported the jmx this way. Although we
upgraded our server, we kept the original configs(including jmx configs) to
make the operations more efficient and less error-prone.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services