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.

Restrictions on Queue Management<br />

Collection Types in Message Payloads<br />

You cannot construct a message payload using a VARRAY that is not itself<br />

contained within an object. You also cannot currently use a NESTED Table even as<br />

an embedded object within a message payload. However, you can create an object<br />

type that contains one or more VARRAYs, and create a queue table that is founded<br />

on this object type.<br />

For example, the following operations are allowed:<br />

CREATE TYPE number_varray AS VARRAY(32) OF NUMBER;<br />

CREATE TYPE embedded_varray AS OBJECT (col1 number_varray);<br />

EXECUTE DBMS_AQADM.CREATE_QUEUE_TABLE(<br />

queue_table => 'QT',<br />

queue_payload_type => 'embedded_varray');<br />

Synonyms on Queue Tables and Queues<br />

All AQ PL/SQL calls do not resolve synonyms on queues and queue tables.<br />

Although you can create a synonyms, you should not apply the synonym to the AQ<br />

interface.<br />

Tablespace Point-in-Time Recovery<br />

Nonpersistent Queues<br />

Note: Queue names and queue table names are converted to<br />

upper case. Mixed case (upper and lower case together) is not<br />

supported for queue names and queue table names.<br />

AQ currently does not support tablespace point-in-time recovery. Creating a queue<br />

table in a tablespace will disable that particular tablespace for point-in-time<br />

recovery.<br />

Currently you can create nonpersistent queues of RAW and ADT type.You are limited<br />

to sending messages only to subscribers and explicitly specified recipients who are<br />

local. Propagation is not supported from nonpersistent queues. When retrieving<br />

messages, you cannot use the dequeue call, but must instead employ the<br />

asynchronous notification mechanism, registering for the notification by mean of<br />

LNOCISubcriptionRegister.<br />

4-10 <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!