new TextMessage()
This method is not meant to be used directly.
Creates a TextMessage object that is used to send a message that
contains a string as its payload.
Extends
Method Summary
- getText
- Returns the text that will be sent as the payload of this message.
- setText
- Sets the string that must be sent as the payload of this message.
Inherited Methods
|
acknowledge |
clearBody |
clearProperties |
getJMSCorrelationID |
getJMSDeliveryMode |
getJMSDeliveryTime |
getJMSDestination |
getJMSExpiration |
getJMSMessageID |
getJMSPriority |
getJMSRedelivered |
getJMSReplyTo |
getJMSTimestamp |
getJMSType |
getObjectProperty |
setJMSCorrelationID |
setJMSDeliveryMode |
setJMSDeliveryTime |
setJMSDestination |
setJMSExpiration |
setJMSMessageID |
setJMSPriority |
setJMSRedelivered |
setJMSReplyTo |
setJMSTimestamp |
setJMSType |
setObjectProperty |
Method Detail
-
getText() → {String}
-
Returns the text that will be sent as the payload of this message.
Returns:
- Type
- String
-
setText(text)
-
Sets the string that must be sent as the payload of this message.
Parameters:
Name Type Description text
String text to be sent as payload.