|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds Oracle Streams Advanced Queuing extensions to javax.jms.Message
.
Allows use of the JMS api for messages stored in AQ queues containing Oracle ADT payloads.
Field Summary |
Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Method Summary | |
java.lang.Object |
getAdtPayload() Get the CustomDatum /ORAData object containing this Adt message's data Important: CustomDatum support will be deprecated in a future release. |
void |
setAdtPayload(CustomDatum payload) set the CustomDatum object containing this Adt message's data Important: CustomDatum support (and hence this method) will be deprecated in a future release. |
Method Detail |
public void setAdtPayload(CustomDatum payload) throws JMSException
CustomDatum
object containing this Adt message's data
Important: CustomDatum
support (and hence this method) will be deprecated in a future release.
Use setAdtPayload (ORAData payload) instead.
payload
- the message's data (the object must implement the CustomDatum
interface). This payload must be a java object that represents the ADT that is defined as the queue/topic payload typeJMSException
- if JMS fails to set the adt payloadMessageNotWriteableException
- if message in read-only mode.AdtMessage#setAdtPayload(ORAData)
public java.lang.Object getAdtPayload() throws JMSException
CustomDatum
/ORAData
object containing this Adt message's data
Important: CustomDatum
support will be deprecated in a future release.
JMSException
- if JMS fails to get object due to some internal JMS error.
|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |