public class TextMessageImpl extends MessageImpl implements javax.jms.TextMessage
TextMessage implementation.| Constructor and Description |
|---|
TextMessageImpl()
Creates empty
TextMessage |
TextMessageImpl(java.lang.String text)
Creates new
TextMessageImpl initialized with
text |
TextMessageImpl(javax.jms.TextMessage msg)
Creates new
TextMessageImpl initialized
with the text from msg |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
java.lang.String |
getText() |
void |
setText(java.lang.String text) |
acknowledge, 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, setPropertiesNotWriteable, setShortProperty, setStringPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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(javax.jms.TextMessage msg)
throws javax.jms.JMSException
TextMessageImpl initialized
with the text from msgmsg - javax.jms.JMSExceptionpublic TextMessageImpl()
TextMessagepublic TextMessageImpl(java.lang.String text)
throws javax.jms.JMSException
TextMessageImpl initialized with
texttext - javax.jms.JMSExceptionpublic void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class MessageImpljavax.jms.JMSExceptionMessage.clearBody()public void setText(java.lang.String text)
throws javax.jms.JMSException
setText in interface javax.jms.TextMessagejavax.jms.JMSExceptionTextMessage.setText(java.lang.String)public java.lang.String getText()
throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSExceptionTextMessage.getText()