| Package | com.kaazing.gateway.jms.client |
| Interface | public interface TextMessage extends Message |
TextMessage object is used to send a message containing a
String.
It inherits from the Message interface and adds a text message
body.
This message type can be used to transport text-based messages, including those with XML content.
When a client receives a TextMessage, it is in read-only
mode. If a client attempts to write to the message at this point, a
MessageNotWriteableException is thrown. If
clearBody is
called, the message can now be both read from and written to.
| Property | Defined by | ||
|---|---|---|---|
![]() | correlationId : String Gets the correlation ID for the message.
| Message | |
![]() | deliveryMode : int Gets the
DeliveryMode value specified for this message. | Message | |
![]() | destination : Destination
Gets the
Destination object for this message. | Message | |
![]() | expiration : Number Gets the message's expiration value.
| Message | |
![]() | messageId : String Gets the message ID.
| Message | |
![]() | priority : int Gets the message priority level.
| Message | |
![]() | redelivered : Boolean Gets an indication of whether this message is being redelivered.
| Message | |
![]() | replyTo : Destination
Gets the
Destination object to which a reply to this
message should be sent. | Message | |
| text : String Gets the string containing this message's data.
| TextMessage | ||
![]() | timestamp : Number Gets the message timestamp.
| Message | |
![]() | type : String Gets the message type identifier supplied by the client when the
message was sent.
| Message | |