09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Dequeuing a Message from a Single-Consumer Queue [SpecifyOptions]<br />

See Also:<br />

Table 11–1 for a list of operational interface basic operations<br />

"Dequeuing a Message" on page 11-44<br />

"Dequeuing a Message from a Multiconsumer Queue [Specify<br />

<br />

Options]" on page 11-52<br />

Purpose<br />

To specify the options available for the dequeue operation.<br />

Usage Notes<br />

Typically, you expect the consumer of messages to access messages using the<br />

dequeue interface. You can view processed messages or messages still to be<br />

processed by browsing by message id or by using SELECTs.<br />

The transformation, if specified, is applied before returning the message to the<br />

caller. The transformation should be defined to map the queue ADT type to the<br />

return type desired by the caller.<br />

Syntax<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available functions in<br />

each programmatic environment. Use the following syntax references for each<br />

programmatic environment:<br />

PL/SQL (DBMS_AQ Package): <strong>Oracle</strong>9i Supplied PL/SQL Packages and Types Reference<br />

<br />

DBMS_AQ, DEQUEUE procedure<br />

Visual Basic (OO4O) (<strong>Oracle</strong> Objects for OLE (OO4O) Online Help): From Help<br />

<br />

Topics, Contents tab, select OO4O Automation Server > OBJECTS > OraAQ<br />

Java (JDBC): <strong>Oracle</strong>9i Supplied Java Packages Reference,oracle.jms,<br />

<br />

AQDequeueOption<br />

11-48 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!