public interface AdtMessage extends Message
javax.jms.Message
.DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
Modifier and Type | Method and Description |
---|---|
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.jdbc.OracleData payload)
set the
OracleData object containing this Adt message's data |
void |
setAdtPayload(oracle.sql.ORAData payload)
set the
ORAData object containing this Adt message's data |
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
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 (OracleData 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(OracleData)
void setAdtPayload(oracle.jdbc.OracleData payload) throws JMSException
OracleData
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.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.