OracleAQQueue Members
OracleAQQueue members are listed in the following tables.
OracleAQQueue Constructors
OracleAQQueue constructors are listed in Table 12-20.
Table 20 OracleAQQueue Constructors
| Constructor | Description |
|---|---|
| OracleAQQueue Constructors | Instantiate a new instance of the OracleAQQueue class (Overloaded). |
OracleAQQueue Static Methods
The OracleAQQueue static method is listed in Table 12-21.
Table 21 OracleAQQueue Static Methods
| Static Method | Description |
|---|---|
| Listen | Listens for messages on one or more queues for one or more consumers, as specified in the array of OracleAQAgent objects (Overloaded). |
OracleAQQueue Properties
OracleAQQueue properties are listed in Table 12-22.
Table 22 OracleAQQueue Properties
| Property | Description |
|---|---|
| AutoCommitTEQNotification | Used to automatically send a Commit acknowledgement after receiving a TxEventQ message’s notification |
| Connection | Specifies the OracleConnection object associated with the queue. |
| DequeueOptions | Specifies the dequeueing options to use when dequeuing a message from a queue. |
| EnqueueOptions | Specifies the enqueueing options used to enqueue a message to a queue. |
| MessageType | Specifies the type of queue table associated with this queue. |
| Name | Returns the name of the queue. |
| Notification | Specifies the various notification options for notifications that are registered using the MessageAvailable event. |
| NotificationConsumers | Specifies the array of consumers, for a multiconsumer queue, that are to be notified asynchronously for any incoming messages on the queue. |
| UdtTypeName | Specifies the type name on which the queue and the corresponding queue table is based if the MessageType is OracleAQMessageType.UDT. |
OracleAQQueue Public Methods
The OracleAQQueue public methods are listed in Table 12-23.
Table 23 OracleAQQueue Public Methods
| Public Method | Description |
|---|---|
| AcknowledgeTxEventQNotification | Sends an acknowledgement for a TxEventQ notification |
| Dequeue | Dequeues messages from queues (Overloaded). |
| DequeueArray | Dequeues multiple messages from queues (Overloaded). |
| Dispose | Releases any resources or memory allocated by the object |
| Enqueue | Enqueues messages to queues (Overloaded). |
| EnqueueArray | Enqueues multiple messages to a queue (Overloaded). |
| Listen | Listens for messages on the queue on behalf of listenConsumers (Overloaded). |
OracleAQQueue Events
The OracleAQQueue event is listed in Table 12-24.
Table 24 OracleAQQueue Events
| Event Name | Description |
|---|---|
| MessageAvailable Event | Notifies when a message is available in the queue for NotificationConsumers. |