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:
jakarta.jms.Message,jakarta.jms.TextMessage
public class ActiveMQRATextMessage extends ActiveMQRAMessage implements jakarta.jms.TextMessage
A wrapper for a message
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.ra.ActiveMQRAMessage
message, session
-
-
Constructor Summary
Constructors Constructor Description ActiveMQRATextMessage(jakarta.jms.TextMessage message, ActiveMQRASession session)Create a new wrapper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetText()Get textvoidsetText(String string)Set text-
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, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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 Detail
-
ActiveMQRATextMessage
public ActiveMQRATextMessage(jakarta.jms.TextMessage message, ActiveMQRASession session)Create a new wrapper- Parameters:
message- the messagesession- the session
-
-
Method Detail
-
getText
public String getText() throws jakarta.jms.JMSException
Get text- Specified by:
getTextin interfacejakarta.jms.TextMessage- Returns:
- The text
- Throws:
jakarta.jms.JMSException- Thrown if an error occurs
-
setText
public void setText(String string) throws jakarta.jms.JMSException
Set text- Specified by:
setTextin interfacejakarta.jms.TextMessage- Parameters:
string- The text- Throws:
jakarta.jms.JMSException- Thrown if an error occurs
-
-