ARTEMIS-1176 Fixing reading from JMS Messages as core messages
This commit is contained in:
parent
298e60a1d4
commit
15bb4d2c61
|
@ -195,7 +195,7 @@ public final class ManagementHelper {
|
|||
* and the result will be a String corresponding to the server exception.
|
||||
*/
|
||||
public static Object[] getResults(final ICoreMessage message) throws Exception {
|
||||
SimpleString sstring = message.getBodyBuffer().readNullableSimpleString();
|
||||
SimpleString sstring = message.getReadOnlyBodyBuffer().readNullableSimpleString();
|
||||
String jsonString = (sstring == null) ? null : sstring.toString();
|
||||
|
||||
if (jsonString != null) {
|
||||
|
|
Loading…
Reference in New Issue