AQjmsObjectMessage - Oracle 9i

Syntax

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

Description
This class implements the ObjectMessage interface. An ObjectMessage is used to send a message that contains a serializable java object

AQjmsObjectMessage

Inherited Member Summary
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE

Methods inherited from class AQjmsMessage

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode,
notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface javax.jms.Message

Methods
clearBody()

public void clearBody()

Clear out the message body. All other parts of the message are left untouched.

Specified By

javax.jms.Message.clearBody() in interface javax.jms.Message

Overrides

clearBody() in class AQjmsMessage

Throws

JMSException - if JMS fails to due to some internal JMS error.

clearProperties()

public void clearProperties() Clear a message's properties.

Specified By

javax.jms.Message.clearProperties() in interface javax.jms.Message

Overrides

clearProperties() in class AQjmsMessage

Throws

JMSException - if JMS fails to clear JMS message properties due to some internal JMS error.

getObject()

public java.io.Serializable getObject()

Get the serializable object containing this message's data. The default value is null.

Specified By

javax.jms.ObjectMessage.getObject() in interface javax.jms.ObjectMessage

Returns
the serializable object containing this message's data

Throws

JMSException - if JMS fails to get object due to some internal JMS error. MessageFormatException - if object deserialization fails

setObject(Serializable)

public void setObject(java.io.Serializable object)

Set the serializable object containing this message's data.

Specified By

javax.jms.ObjectMessage.setObject (java.io.Serializable) in interface javax.jms.ObjectMessage

Parameters

object - the message's data

Throws


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics