public class TextMessageUtil extends MessageUtil
CONNECTION_ID_PROPERTY_NAME, CORRELATIONID_HEADER_NAME, JMS, JMS_, JMSX, JMSXDELIVERYCOUNT, JMSXGROUPID, REPLYTO_HEADER_NAME, TYPE_HEADER_NAME
Constructor and Description |
---|
TextMessageUtil() |
Modifier and Type | Method and Description |
---|---|
static SimpleString |
readBodyText(Message message)
Utility method to set the Text message on a message body
|
static void |
writeBodyText(Message message,
SimpleString text)
Utility method to set the Text message on a message body
|
clearProperties, getBodyBuffer, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSReplyTo, getJMSType, getPropertyNames, propertyExists, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSReplyTo, setJMSType
public static void writeBodyText(Message message, SimpleString text)
public static SimpleString readBodyText(Message message)
Copyright © 2015 The Apache Software Foundation. All rights reserved.