Package org.apache.activemq.artemis.ra
Class ActiveMQRATextMessage
java.lang.Object
org.apache.activemq.artemis.ra.ActiveMQRAMessage
org.apache.activemq.artemis.ra.ActiveMQRATextMessage
- All Implemented Interfaces:
Message,TextMessage
A wrapper for a
TextMessage.-
Field Summary
Fields inherited from class org.apache.activemq.artemis.ra.ActiveMQRAMessage
message, sessionFields inherited from interface jakarta.jms.Message
DEFAULT_DELIVERY_DELAY, DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.activemq.artemis.ra.ActiveMQRAMessage
acknowledge, clearBody, clearProperties, equals, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.jms.Message
acknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
-
Constructor Details
-
ActiveMQRATextMessage
-
-
Method Details
-
getText
Gets the string containing this message's data. The default value is null.- Specified by:
getTextin interfaceTextMessage- Returns:
- the
Stringcontaining the message's data - Throws:
JMSException- if the Jakarta Messaging provider fails to get the text due to some internal error.
-
setText
Sets the string containing this message's data.- Specified by:
setTextin interfaceTextMessage- Parameters:
string- theStringcontaining the message's data- Throws:
JMSException- if the Jakarta Messaging provider fails to set the text due to some internal error.MessageNotWriteableException- if the message is in read-only mode.
-