|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jms.AQjmsMessage
oracle.jms.AQjmsObjectMessage
public class AQjmsObjectMessage
This is an Oracle class which implements javax.jms.ObjectMessage.
| Field Summary |
|---|
| Fields inherited from interface javax.jms.Message |
|---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Method Summary | |
|---|---|
void |
clearBody()Clear out the message body. |
java.io.Serializable |
getObject()Gets the serializable object containing this message's data. |
void |
setObject(java.io.Serializable object)Sets the serializable object containing this message's data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setObject(java.io.Serializable object)
throws JMSException
ObjectMessage contains a snapshot of the object at the time setObject() is called; subsequent modifications of the object will have no effect on the ObjectMessage body.setObject in interface ObjectMessageobject - the message's dataJMSException - if the JMS provider fails to set the object due to some internal error.MessageFormatException - if object serialization fails.MessageNotWriteableException - if the message is in read-only mode.
public java.io.Serializable getObject()
throws JMSException
getObject in interface ObjectMessageJMSException - if the JMS provider fails to get the object due to some internal error.MessageFormatException - if object deserialization fails.
public void clearBody()
throws JMSException
clearBody in interface MessageclearBody in class AQjmsMessageJMSException - if JMS fails to due to some internal JMS error.
|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||