public final class TextMessageImpl extends AbstractMessage implements javax.jms.TextMessage
Implementation of a TextMessage
bodyIsReadOnly| Constructor and Description |
|---|
TextMessageImpl()
Constructor
|
TextMessageImpl(String text)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
AbstractMessage |
copy()
Create an independant copy of this message
|
String |
getText() |
protected byte |
getType()
Get the type value for this message
|
protected void |
serializeBodyTo(RawDataBuffer out) |
void |
setText(String body) |
String |
toString() |
protected void |
unserializeBodyFrom(RawDataBuffer in) |
acknowledge, assertDeserializationLevel, clearProperties, copyCommonFields, ensureDeserializationLevel, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getRawMessage, getSession, getShortProperty, getStringProperty, initializeFromRaw, isInternalCopy, markAsReadOnly, propertyExists, readMapFrom, serializeTo, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setInternalCopy, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setSession, setShortProperty, setStringProperty, writeMapToclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertypublic TextMessageImpl()
public TextMessageImpl(String text) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected byte getType()
AbstractMessagegetType in class AbstractMessageprotected void unserializeBodyFrom(RawDataBuffer in)
unserializeBodyFrom in class AbstractMessageprotected final void serializeBodyTo(RawDataBuffer out)
serializeBodyTo in class AbstractMessagepublic void clearBody()
clearBody in interface javax.jms.Messagepublic String getText() throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSExceptionpublic void setText(String body) throws javax.jms.JMSException
setText in interface javax.jms.TextMessagejavax.jms.JMSExceptionpublic AbstractMessage copy()
AbstractMessagecopy in class AbstractMessagepublic String toString()
toString in class AbstractMessageCopyright © 2019. All rights reserved.