MessageType
This instance property specifies the type of queue table associated with this queue.
Declaration
// C# public OracleAQMessageType MessageType {get; set;}
Property Value
An OracleAQMessageType
enumerated value.
Exceptions
ArgumentOutOfRangeException
- The type value specified is invalid.
ObjectDisposedException
- The object is already disposed.
Remarks
The MessageType
property also dictates the type of message payloads that are enqueued or dequeued from the queue. It is possible to enqueue a variety of payloads depending on the MessageType
.
Table 12-27 lists the allowed payload types for various message types.
Table 12-27 Message Types and Payloads
OracleAQQueue.MessageType | Allowed OracleAQMessage.Payload type to Enqueue |
---|---|
|
|
|
|
|
|
Table 12-28 lists the payload types for dequeued messages.
Table 12-28 Payload Types for Dequeued Messages
OracleAQQueue.MessageType | DequeueOptions.ProviderSpecificType | OracleAQMessage.Payload of dequeued message |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
N.A. |
|