public interface TextMessage extends Message
TextMessage is used to send a message containing text.XMLMessage.MessageUserPropertyConstants, XMLMessage.OutcomeMSGDUMP_BRIEF, MSGDUMP_FULL| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Gets the message content.
|
void |
setText(String text)
Sets the message content.
|
getBytes, readBytes, readBytes, rewindContent, writeBytes, writeBytesackMessage, clearAttachment, clearContent, dump, dump, getApplicationMessageId, getApplicationMessageType, getAppMessageID, getAppMessageType, getAttachmentByteBuffer, getAttachmentContentLength, getCacheRequestId, getConsumerIdList, getContentLength, getCorrelationId, getCorrelationKey, getCos, getDeliverToOne, getDeliveryCount, getDeliveryMode, getDestination, getDestinationTopicSuffix, getDiscardIndication, getExpiration, getHTTPContentEncoding, getHTTPContentType, getMessageId, getMessageIdLong, getMessageType, getPriority, getProperties, getReceiveTimestamp, getRedelivered, getReplicationGroupMessageId, getReplyTo, getReplyToSuffix, getSenderId, getSenderID, getSenderTimestamp, getSendTimestamp, getSequenceNumber, getTimeToLive, getTopicSequenceNumber, getUserData, hasAttachment, hasContent, hasUserData, isAckImmediately, isCacheMessage, isDMQEligible, isElidingEligible, isReadOnly, isReplyMessage, isSuspect, readAttachmentBytes, readAttachmentBytes, readAttachmentBytes, readContentBytes, readContentBytes, readContentBytes, rejectMessage, reset, rewindAttachment, setAckImmediately, setApplicationMessageId, setApplicationMessageType, setAppMessageID, setAppMessageType, setAsReplyMessage, setCorrelationId, setCorrelationKey, setCos, setDeliverToOne, setDeliveryMode, setDMQEligible, setElidingEligible, setExpiration, setHTTPContentEncoding, setHTTPContentType, setMessageType, setPriority, setProperties, setReadOnly, setReplyTo, setReplyToSuffix, setSenderId, setSenderID, setSenderTimestamp, setSendTimestamp, setSequenceNumber, setTimeToLive, settle, setUserData, writeAttachment, writeAttachment, writeAttachment, writeNewAttachment, writeNewAttachment, writeNewAttachment, writeNewAttachmentCopyright 2004-2025 Solace Corporation. All rights reserved.