09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Data Structures<br />

Attributes<br />

Table 2–3 AQ Registration Info Type Attributes<br />

Attribute Description<br />

name Specifies the name of the subscription.<br />

The subscription name is of the form . if<br />

the registration is for a single consumer queue and<br />

.: if the registration is<br />

for a multiconsumer queue.<br />

namespace Specifies the namespace of the subscription.<br />

To receive notifications from AQ queues the namespace must<br />

be DBMS_AQ.NAMESPACE_AQ.<br />

To receive notifications from other applications using DBMS_<br />

AQ.POST or OCISubscriptionPost(), the namespace must<br />

be DBMS_AQ.NAMESPACE_ANONYMOUS.<br />

callback Specifies the action to be performed on message notification.<br />

For e-mail notifications, the form is<br />

mailto://xyz@company.com<br />

For AQ PL/SQL Callback, use<br />

plsql://.?PR=0 for raw message<br />

payload or plsql://.?PR=1 for<br />

ADT message payload converted to XML<br />

context Specifies the context that is to be passed to the callback<br />

function. Default: NULL<br />

Table 2–4 shows the actions performed when different notification<br />

mechanisms/presentations are specified for nonpersistent queues.<br />

2-6 <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!