org.jboss.mq
Class SpyEncapsulatedMessage

java.lang.Object
  extended by org.jboss.mq.SpyMessage
      extended by org.jboss.mq.SpyObjectMessage
          extended by org.jboss.mq.SpyEncapsulatedMessage
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Comparable, javax.jms.Message, javax.jms.ObjectMessage

public class SpyEncapsulatedMessage
extends SpyObjectMessage

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

Version:
$Revision: 1.7.4.2 $
Author:
Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), Adrian Brock
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.mq.SpyMessage
SpyMessage.Header
 
Field Summary
 
Fields inherited from class org.jboss.mq.SpyMessage
ack, BOOLEAN, BYTE, BYTES_MESS, DOUBLE, ENCAP_MESS, FLOAT, header, INT, LONG, MAP_MESS, NULL, OBJECT, OBJECT_MESS, PROPERTY_DELIVERY_COUNT, PROPERTY_ORIG_DESTINATION, PROPERTY_ORIG_EXPIRATION, PROPERTY_ORIG_MESSAGEID, 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
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
SpyEncapsulatedMessage()
           
 
Method Summary
 javax.jms.Message getMessage()
           
 SpyMessage myClone()
          Clone the message
 void setMessage(javax.jms.Message m)
           
 
Methods inherited from class org.jboss.mq.SpyObjectMessage
clearBody, getObject, readExternal, setObject, writeExternal
 
Methods inherited from class org.jboss.mq.SpyMessage
acknowledge, clearProperties, compareTo, copyProps, createAcknowledgementRequest, doAcknowledge, 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
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(javax.jms.Message m)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getMessage

public javax.jms.Message getMessage()
                             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

myClone

public SpyMessage myClone()
                   throws javax.jms.JMSException
Description copied from class: SpyMessage
Clone the message

Overrides:
myClone in class SpyObjectMessage
Returns:
the cloned message
Throws:
javax.jms.JMSException - for any error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.