Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
See Also |
Properties |
Methods |
Examples |
An OraAQ object is instantiated by invoking the CreateAQ method of the OraDatabase interface. It represents a queue that is present in the database.
Remarks
Oracle Objects for OLE provides interfaces for accessing Oracle' s Advanced Queuing (AQ) Feature. It makes AQ accessible from popular COM-based development environments such as Visual Basic. For a detailed description of Oracle AQ, see the Oracle Streams Advanced Queuing User Guide and Reference.
The OraAQ Automation interface provides methods for enqueuing and dequeuing messages (OraAQMsg). It also provides a method for monitoring queues for message arrivals.
Client applications provide a Dispatch interface to the monitor. The monitor checks the queue for messages which meet the application criteria. It then invokes the NotifyMe method of the Dispatch interface when these messages are dequeued.
The following diagram illustrates the OO4O AQ Automation objects and their properties.