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.

Creating a Nonpersistent Queue<br />

Creating a Nonpersistent Queue<br />

Figure 9–6 Creating a Nonpersistent Queue<br />

User/<br />

Program<br />

AQ Administrative Interface : CREATING a Nonpersistent Queue<br />

CREATE<br />

a Nonpersistent<br />

Queue<br />

OR<br />

default<br />

for multiconsumers<br />

optional<br />

information<br />

name<br />

queue<br />

specify<br />

singleconsumer<br />

queue<br />

add<br />

comment<br />

See Also: Table 9–1 for a list of adminstrative interface basic<br />

operations<br />

Purpose<br />

Create a nonpersistent queue.<br />

specify<br />

multiconsumer<br />

queue<br />

Usage Notes<br />

The queue may be either single-consumer or multiconsumer queue. All queue<br />

names must be unique within a schema. The queues are created in a 8.1 compatible<br />

system-created queue table (AQ$_MEM_SC or AQ$_MEM_MC) in the same schema as<br />

that specified by the queue name. If the queue name does not specify a schema<br />

name, the queue is created in the login user’s schema. Once a queue is created with<br />

CREATE_NP_QUEUE, it can be enabled by calling START_QUEUE. By default, the<br />

queue is created with both enqueue and dequeue disabled.<br />

You can enqueue RAW and Object Type (ADT) messages into a nonpersistent<br />

queue. You cannot dequeue from a nonpersistent queue. The only way to retrieve a<br />

9-26 <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!