||Oracle Tips by Burleson
Oracle 10g Advance Queue Enhancements
Advanced Queuing has been integrated into Oracle
Streams, and is now called Oracle Streams Advanced Queuing (AQ).
Oracle Streams AQ supports all existing AQ functionality and more.
The following summarizes the new features and enhancements added to
the dbms_aq package.
A new package called dbms_aqadm is introduced.
New AQ Type message_properties_t_array type
message_properties_t type has an additional
New JMS Types and added functionality to
With the help of the enqueue_array procedure,
you can enqueue an array of payloads, using a corresponding array of
message properties. And you can use the dequeue_array function to
dequeue an array of payloads and a corresponding array of message
Let us look at an example of enqueue and deque.
-- Add code here to populate the array --
enq_cnt := DBMS_AQ.ENQUEUE_ARRAY
(queue_name => 'IX.ORDERS_QUEUE',
enqueue_options => enq_opt,
array_size => 20,
message_properties_array => mesg_props,
payload_array => parray,
msgid_array => msgidarr);
In the example above, the message payloads are
taken from the specified structure, such as the nested table
oe.addr_nest_tab_typ. The function returns the number of messages
Get the complete story:
To get the code instantly, click here:
Need an Oracle Mentor?
BEI is now offering personal mentors for Oracle DBAs where you can have an
Oracle expert right at your fingertips, anytime day or night. We work with
hundreds of Oracle databases every year, so we know exactly how to quickly
assist you with any Oracle question.
Why risk an unplanned outage? You can now get telephone access to Don
Burleson or any of his Oracle Certified DBAs with more than 20 years of
full-time IT experience. Click here for details: