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.

Comparing AQ Programmatic Environments<br />

Table 3–2 (Cont.) Comparison of AQ Programmatic Environments: Administrative Interface<br />

Use Case PL/SQL Java (Native) Java (JMS)<br />

Start a Queue/Topic DBMS_AQADM.start_<br />

queue<br />

Stop a Queue/Topic DBMS_AQADM.stop_<br />

queue<br />

Drop a Queue/Topic DBMS_AQADM.drop_<br />

queue<br />

Grant System Privileges DBMS_AQADM.grant_<br />

system_privilege<br />

Revoke System Privileges DBMS_AQADM.revoke_<br />

system_privilege<br />

Grant a Queue/Topic<br />

Privilege<br />

Revoke a Queue/Topic<br />

Privilege<br />

DBMS_AQADM.grant_<br />

queue_privilege<br />

DBMS_AQADM.revoke_<br />

queue_privilege<br />

Verify a Queue Type DBMS_AQADM.verify_<br />

queue_types<br />

Add a Subscriber DBMS_AQADM.add_<br />

subscriber<br />

3-14 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong><br />

AQQueue.start<br />

AQQueue.startEnqueue<br />

AQQueue.startDequeue<br />

AQQueue.stop<br />

AQQueue.stopEnqueue<br />

AQQueue.stopDequeue<br />

AQQueue.drop<br />

AQQueueTable.dropQueu<br />

e<br />

AQjmsDestination.start<br />

AQjmsDestination.stop<br />

AQjmsDestination.drop<br />

Not supported AQjmsSession.grantSyste<br />

mPrivilege<br />

Not supported AQjmsSession.revokeSyst<br />

emPrivilege<br />

AQQueue.grantQueuePri<br />

vilege<br />

AQQueue.revokeQueuePr<br />

ivilege<br />

AQjmsDestination.grantQ<br />

ueuePrivilege<br />

AQjmsDestination.grantT<br />

opicPrivilege<br />

AQjmsDestination.revoke<br />

QueuePrivilege<br />

AQjmsDestination.revoke<br />

TopicPrivilege<br />

Not supported Not supported<br />

AQQueue.addSubscriber See Table 3–6,<br />

" Comparison of AQ<br />

Programmatic<br />

Environments:<br />

Operational<br />

Interface—Subscribing for<br />

Messages in a<br />

Multiconsumer<br />

Queue/Topic,<br />

Publish-Subscribe Model<br />

Use Cases"

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

Saved successfully!

Ooh no, something went wrong!