I would like a feature like : listMessagesAsJSON from the jmx-console to be available in java(i.e. get a list of messages that are a queue).
How could I achieve that ?
either use the management API from java (see manual) or use a queue browser
Retrieving data ...