org.jboss.mq
Class SpyEncapsulatedMessage

java.lang.Object
  extended byorg.jboss.mq.SpyMessage (src) 
      extended byorg.jboss.mq.SpyObjectMessage (src) 
          extended byorg.jboss.mq.SpyEncapsulatedMessage
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Externalizable, Message (src) , ObjectMessage (src) , java.io.Serializable

public class SpyEncapsulatedMessage
extends SpyObjectMessage (src)

This Message class is used to send a non 'provider-optimized Message' over the network [4.4.5]

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.mq.SpyMessage (src)
SpyMessage.Header (src)
 
Field Summary
 
Fields inherited from class org.jboss.mq.SpyMessage (src)
ack, BOOLEAN, BYTE, BYTES_MESS, DOUBLE, ENCAP_MESS, FLOAT, header, INT, LONG, MAP_MESS, NULL, OBJECT, OBJECT_MESS, PROPERTY_REDELIVERY_COUNT, PROPERTY_REDELIVERY_DELAY, PROPERTY_REDELIVERY_LIMIT, PROPERTY_SCHEDULED_DELIVERY, session, SHORT, SPY_MESS, STREAM_MESS, STRING, TEXT_MESS
 
Fields inherited from interface javax.jms.Message (src)
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
SpyEncapsulatedMessage()
           
 
Method Summary
 Message (src) getMessage()
           
 SpyMessage (src) myClone()
          Clone the message
 void setMessage(Message (src)  m)
           
 
Methods inherited from class org.jboss.mq.SpyObjectMessage (src)
clearBody, getObject, readExternal, setObject, writeExternal
 
Methods inherited from class org.jboss.mq.SpyMessage (src)
acknowledge, clearProperties, compareTo, copyProps, createAcknowledgementRequest, doAcknowledge, doNegAcknowledge, getAcknowledgementRequest, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isOutdated, propertyExists, readMessage, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReadOnlyMode, setShortProperty, setStringProperty, toString, writeMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Message (src)
acknowledge, 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
 

Constructor Detail

SpyEncapsulatedMessage

public SpyEncapsulatedMessage()
Method Detail

setMessage

public void setMessage(Message (src)  m)
                throws JMSException (src) 
Throws:
JMSException (src)

getMessage

public Message (src)  getMessage()
                   throws JMSException (src) 
Throws:
JMSException (src)

myClone

public SpyMessage (src)  myClone()
                   throws JMSException (src) 
Description copied from class: SpyMessage (src)
Clone the message

Overrides:
myClone in class SpyObjectMessage (src)
Throws:
JMSException (src)