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.

Purpose<br />

Revoke queue privilege in the point-to-point model<br />

Revoking Queue Privileges—Point-to-Point<br />

Usage Notes<br />

The privileges are ENQUEUE, DEQUEUE and ALL. ALL means both. To revoke a<br />

privilege, the revoker must be the original grantor of the privilege. The privileges<br />

propagated through the GRANT option are revoked if the grantors privilege is also<br />

revoked.<br />

Syntax<br />

See Java (JDBC): <strong>Oracle</strong>9i Supplied Java Packages Reference oracle.jms,<br />

AQjmsDestination.revokeQueuePrivilege<br />

Example<br />

QueueSession q_sess;<br />

Queue queue;<br />

((AQjmsDestination)queue).revokeQueuePrivilege(q_sess, "ENQUEUE", "scott");<br />

JMS Administrative Interface: Basic Operations 13-49

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

Saved successfully!

Ooh no, something went wrong!