jms4spread
Class TextMessage

java.lang.Object
  |
  +--jms4spread.Message
        |
        +--jms4spread.TextMessage
All Implemented Interfaces:
java.io.Serializable

public class TextMessage
extends Message

A TextMessage is used to send Message Strings using JMS4Spread

See Also:
Serialized Form

Fields inherited from class jms4spread.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Method Summary
 void clearBody()
          Clear the body of the Message
 java.lang.String getText()
          Get the Text of the Message
 void setText(java.lang.String t)
          Set the Text of the Message
 
Methods inherited from class jms4spread.Message
clearProperties, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageType, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getMessageID, JMSTimeStamp, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageType, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimeStamp, setMessageID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setText

public void setText(java.lang.String t)
Set the Text of the Message
Parameters:
t - the text

getText

public java.lang.String getText()
Get the Text of the Message
Returns:
the text of the Message

clearBody

public void clearBody()
Clear the body of the Message
Overrides:
clearBody in class Message