Github user jbertram commented on the issue:
https://github.com/apache/activemq-artemis/pull/2035
Couple of things:
- From 1.5.5 to 2.0.0 the return value of
`ActiveMQServerControl.listAllConsumersAsJSON()` didn't change. My guess is
that you were using `JMSServerControl.listAllConsumersAsJSON()` which was
indeed removed in 2.0.0.
- One of the goals with the management interface is to use very simple
input and return types (ideally just strings) in order to be simple to use from
a wide variety of tools, e.g. JMX tools like JConsole, JVisualVM, etc. as well
as Jolokia which exposes JMX MBeans over REST. Methods using complex types
don't work well (if at all) with these kinds of tools.
I like @michaelandrepearce's idea with Jackson. @michaelandrepearce were
you thinking that the Jackson object would live in the Artemis code-base?
---