org.jboss.jms.message
Interface JBossMessage

All Superinterfaces:
java.lang.Cloneable, Message (src)
All Known Implementing Classes:
MessageImpl (src) , StandardMessage (src)

public interface JBossMessage
extends Message (src) , java.lang.Cloneable

A jboss message


Field Summary
 
Fields inherited from interface javax.jms.Message (src)
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Method Summary
 java.lang.Object clone()
           
 void generateMessageID()
          Generate a message id for the message
 void generateTimestamp()
          Generate a timestamp for the message
 SessionDelegate (src) getSessionDelegate()
          Retrieve the session for this message
 void makeReadOnly()
          Change the message to read only
 
Methods inherited from interface javax.jms.Message (src)
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
 

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getSessionDelegate

public SessionDelegate (src)  getSessionDelegate()
                                   throws JMSException (src) 
Retrieve the session for this message

Returns:
the session delegate
Throws:
JMSException (src) - for any error

generateMessageID

public void generateMessageID()
                       throws JMSException (src) 
Generate a message id for the message

Throws:
JMSException (src)

generateTimestamp

public void generateTimestamp()
                       throws JMSException (src) 
Generate a timestamp for the message

Throws:
JMSException (src)

makeReadOnly

public void makeReadOnly()
                  throws JMSException (src) 
Change the message to read only

Throws:
JMSException (src)