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.

* Check if the schedule has been enabled: */<br />

SELECT schedule_disabled FROM user_queue_schedules;<br />

/* Unschedule propagation for booked orders: */<br />

EXECUTE dbms_aqadm.unschedule_propagation( \<br />

queue_name => ’OE.OE_bookedorders_que’);<br />

/* Wait for some time for call to be effected: */<br />

EXECUTE dbms_lock.sleep(30);<br />

/* Check if the schedule has been dropped<br />

SELECT * FROM user_queue_schedules;<br />

Visual Basic (OO4O): Example Code<br />

This functionality is currently not available.<br />

Java (JDBC): Example Code<br />

No example is provided with this release.<br />

Propagation of Messages with LOB Attributes<br />

Large Objects can be propagated using AQ using two methods:<br />

Propagation Features<br />

Propagation from RAW queues. In RAW queues the message payload is stored<br />

<br />

as a Binary Large Object (BLOB). This allows users to store up to 32KB of data<br />

when using the PL/SQL interface and as much data as can be contiguously<br />

allocated by the client when using OCI. This method is supported by all<br />

releases after 8.0.4 inclusive.<br />

Propagation from Object queues with LOB attributes. The user can populate the<br />

<br />

LOB and read from the LOB using <strong>Oracle</strong>'s LOB handling routines. The LOB<br />

attributes can be BLOBs or CLOBs (not NCLOBs). If the attribute is a CLOB AQ<br />

will automatically perform any necessary characterset conversion between the<br />

source queue and the destination queue. This method is supported by all<br />

releases from 8.1.3 inclusive.<br />

See Also: <strong>Oracle</strong>9i Application Developer’s Guide - Large Objects<br />

(LOBs)<br />

A Sample Application Using AQ 8-111

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

Saved successfully!

Ooh no, something went wrong!