org.objectweb.joram.client.jms

Class ObjectMessage

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

public class ObjectMessage
extends Message
implements javax.jms.ObjectMessage

Implements the javax.jms.ObjectMessage interface.

Field Summary

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

momMsg, sess

Method Summary

void
clearBody()
API method.
Serializable
getObject()
API method.
protected void
prepare()
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.
void
setObject(Serializable obj)
API method.
String
toString()

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


getObject

public Serializable getObject()
            throws MessageFormatException
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


setObject

public void setObject(Serializable obj)
            throws JMSException
API method.


toString

public String toString()


Copyright B) 2004 Scalagent - All rights reserved