public class GSTextMessageImpl extends GSMessageImpl implements javax.jms.TextMessage
javax.jms.TextMessage interface.Body, BODY_STR_NAME, BYTES, DestinationName, indexedFields, JMS_CORRELATION_ID, JMS_DELIVERY_MODE, JMS_DESTINATION, JMS_EXPIRATION, JMS_GSCONNECTION_KEY_NAME, JMS_GSCONVERTER, JMS_GSPRODUCER_KEY_PROP_NAME, JMS_GSTTL_KEY_PROP_NAME, JMS_MESSAGE_ID, JMS_PRIORITY, JMS_REDELIVERED, JMS_REPLY_TO, JMS_TIMESTAMP, JMS_TYPE, JMSCorrelationID, JMSDeliveryMode, JMSDestination, JMSExpiration, JMSMessageID, JMSPriority, JMSRedelivered, JMSReplyTo, JMSTimestamp, JMSType, JMSX_GROUPID, JMSX_GROUPSEQ, JMSX_USERID, MAP, OBJECT, Properties, PROPERTIES_STR_NAME, session, SIMPLE, STREAM, TEXT| Constructor and Description |
|---|
GSTextMessageImpl()
Instantiates a new
TextMessage instance. |
GSTextMessageImpl(GSSessionImpl session)
Instantiates a new
TextMessage instance. |
GSTextMessageImpl(GSSessionImpl session,
String text)
Instantiates a new
TextMessage instance. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
cloneBody()
Returns a clone of the body.
|
String |
getText() |
void |
setText(String string) |
__getSpaceIndexedFields, acknowledge, checkBodyReadOnly, checkBodyWriteOnly, checkPropertiesReadOnly, clearBody, clearProperties, cloneObject, copyTo, equals, getBooleanProperty, getByteProperty, getDestinationName, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, propertyExists, readExternal, setBooleanProperty, setByteProperty, setDestinationName, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setProperties, setRoutingIndexes, setShortProperty, setStringProperty, toString, writeExternal__getEntryInfo, __setEntryInfo, _readExternal, _writeExternal, isFifo, isNOWriteLeaseMode, isTransient, makePersistent, makeTransient, setFifo, setNOWriteLeaseMode, setTransientclone, finalize, getClass, notify, notifyAll, wait, wait, waitacknowledge, clearBody, 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 GSTextMessageImpl()
throws javax.jms.JMSException
TextMessage instance.javax.jms.JMSException - if falied to create the messagepublic GSTextMessageImpl(GSSessionImpl session, String text) throws javax.jms.JMSException
TextMessage instance.session - the session of the messagetext - the String content of the messagejavax.jms.JMSException - if falied to create the messagepublic GSTextMessageImpl(GSSessionImpl session) throws javax.jms.JMSException
TextMessage instance.session - the session of the messagejavax.jms.JMSException - if falied to create the messagepublic void setText(String string) throws javax.jms.JMSException
setText in interface javax.jms.TextMessagejavax.jms.JMSExceptionTextMessage.setText(String)public String getText() throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSExceptionTextMessage.getText()protected Object cloneBody()
cloneBody in class GSMessageImplCopyright © GigaSpaces.