org.jboss.jms.message
Class TextMessageProxy

java.lang.Object
  extended byorg.jboss.jms.message.MessageProxy
      extended byorg.jboss.jms.message.TextMessageProxy
All Implemented Interfaces:
java.io.Serializable

public class TextMessageProxy
extends MessageProxy

Thin proxy for a JBossTextMessage

Author:
Tim Fox
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jms.message.MessageProxy
bodyCopied, bodyReadOnly, cc, delegate, deliveryCount, message, messageCopied, propertiesCopied, propertiesReadOnly, state, STATE_NEW, STATE_RECEIVED, STATE_SENT
 
Constructor Summary
TextMessageProxy(JBossTextMessage message, int deliveryCount)
           
 
Method Summary
 java.lang.String getText()
           
 void setText(java.lang.String string)
           
 
Methods inherited from class org.jboss.jms.message.MessageProxy
acknowledge, bodyChange, bodyClear, clearBody, clearProperties, copyMessage, getBooleanProperty, getByteProperty, getDeliveryCount, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getMessage, getObjectProperty, getPropertyNames, getSessionDelegate, getShortProperty, getStringProperty, headerChange, incDeliveryCount, isReceived, isSent, propertiesClear, propertyChange, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReceived, setSent, setSessionDelegate, setShortProperty, setStringProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextMessageProxy

public TextMessageProxy(JBossTextMessage message,
                        int deliveryCount)
Method Detail

setText

public void setText(java.lang.String string)
             throws JMSException
Throws:
JMSException

getText

public java.lang.String getText()
                         throws JMSException
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.