Oracle9i Application Developer's Guide - Advanced Queuing Release 1 (9.0.1) Part Number A88890-02 |
|
AQ Programmatic Environments, 4 of 9
Oracle Call Interface (OCI) provides an interface to Oracle Advanced Queuing functions using the native AQ interface.
An OCI client can perform the following actions:
In addition, OCI clients can receive asynchronous notifications for new messages in a queue using OCISubscriptionRegister.
See:
Oracle Call Interface Programmer's Guide: "OCI and Advanced Queuing" and "Publish-Subscribe Notification" sections, for syntax details. |
For queues with user-defined payload type, OTT must be used to generate the OCI mapping for the Oracle type. The OCI client is responsible for freeing the memory of the AQ descriptors and the message payload.
See Appendix A, "Oracle Advanced Queuing by Example", under "Enqueuing and Dequeuing Of Messages" , for OCI Advanced Queuing interface examples.
See Appendix A, "Oracle Advanced Queuing by Example", "AQ and Memory Usage" , for examples illustrating memory management of OCI descriptors.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|