Enqueuing refers to sending a message to a queue and dequeuing refers to receiving one. A client application can create a message, set the desired properties on it and enqueue it by storing the message in the queue, a table in the database. When dequeuing a message, an application can either dequeue it synchronously by calling the
dequeue method on the connection, or asynchronously by waiting for a notification from the database (see the
registerAQNotification method on the database).
Interface Summary Interface Description AQAgentAn Agent represents and identifies a user of the queue, either producer or consumer of the message, either an end-user or an application. AQMessageA message is the unit that is enqueued or dequeued. AQMessagePropertiesThis interface contains the message properties such as Correlation, Sender, Delay and Expiration, Recipients, and Priority and Ordering. AQNotificationListenerThe listener interface for receiving AQ notification events. AQNotificationRegistrationThis class represents your interest in being notified when a new message is enqueued in a particular queue.
Class Summary Class Description AQDequeueOptionsSpecifies the options available for the dequeue operation. AQEnqueueOptionsSpecifies the options available for the enqueue operation. AQFactoryFactory class for AQ. AQNotificationEventAn AQNotificationEvent will be created whenever a new message is enqueued in a queue for which you have registered your interest (see OracleConnection.registerAQNotification).