org.objectweb.joram.client.jms

Class TextMessage

Implemented Interfaces:
javax.jms.Message, javax.jms.TextMessage

public class TextMessage
extends Message
implements javax.jms.TextMessage

Implements the javax.jms.TextMessage interface.

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.Message

momMsg, sess

Method Summary

void
clearBody()
API method.
String
getText()
API method.
protected void
prepare()
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.
void
setText(String text)
API method.

Methods inherited from class org.objectweb.joram.client.jms.Message

acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, prepare, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty

Method Details

clearBody

public void clearBody()
            throws JMSException
API method.
Overrides:
clearBody in interface Message


getText

public String getText()
            throws JMSException
API method.


prepare

protected void prepare()
            throws Exception
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.
Overrides:
prepare in interface Message


setText

public void setText(String text)
            throws MessageNotWriteableException
API method.


Copyright B) 2004 Scalagent - All rights reserved