3 Replies Latest reply on Feb 19, 2015 8:50 AM by Igor Chernysh

    How to get message's text using Management API?

    Igor Chernysh Newbie

      I am invoking JMSQueueControl:listMessagesAsJSON(queueName).

      As a result I am getting something like this:

       

      {"JMSMessageID":"ID:5cc886de-b6c7-11e4-8934-df1f976a6ebc","JMSExpiration":0,"messageID":4313000333,"address":"jms.queue.chernq4","JMSDeliveryMode":"PERSISTENT","__HQ_CID":"5c59e68b-b6c7-11e4-8934-df1f976a6ebc","JMSPriority":4,"JMSTimestamp":1424192809935},

       

      {"JMSMessageID":"ID:5cd7c91f-b6c7-11e4-8934-df1f976a6ebc","JMSExpiration":0,"messageID":4313000334,"address":"jms.queue.chernq4","JMSDeliveryMode":"PERSISTENT","__HQ_CID":"5c59e68b-b6c7-11e4-8934-df1f976a6ebc","JMSPriority":4,"JMSTimestamp":1424192810035},

       

      {"JMSMessageID":"ID:5cd7c920-b6c7-11e4-8934-df1f976a6ebc","JMSExpiration":0,"messageID":4313000335,"address":"jms.queue.chernq4","JMSDeliveryMode":"PERSISTENT","__HQ_CID":"5c59e68b-b6c7-11e4-8934-df1f976a6ebc","JMSPriority":4,"JMSTimestamp":1424192810035},....... }

       

      The response contains information related to the message. Message's text is not present.

       

      Are there any way to get this text(message body)?

       

      Thanks,

      Igor.