|
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 | ||||||||
public interface AdtMessage
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(oracle.sql.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. |
void |
setAdtPayload(oracle.sql.ORAData payload)set the ORAData object containing this Adt message's data |
| Method Detail |
|---|
void setAdtPayload(oracle.sql.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.setAdtPayload(ORAData)
void setAdtPayload(oracle.sql.ORAData payload)
throws JMSException
ORAData object containing this Adt message's datapayload - the message's data (the object must implement the ORAData 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.
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 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||