Oracle8i Application Developer's Guide - Advanced Queuing
Release 2 (8.1.6)

A76938-01

Library

Product

Contents

Index

Prev Up Next

JMS Administrative Interface: Basic Operations, 20 of 30


Point-to-Point: Grant Queue Privileges

Figure 13-18 Use Case Diagram: Point-to-Point - Grant Queue Privileges


To refer to the table of all basic operations having to do with the Operational Interface see:

  • "Use Case Model: Operational Interface -- Basic Operations"

 

Purpose

Grant a queue privilege in the point-to-point model

Usage Notes

The privileges are ENQUEUE, DEQUEUE and ALL. ALL means both. Initially only the queue table owner can use this procedure to grant privileges on the queue.

Syntax

See Java (JDBC): Oracle8i Supplied Java Packages Reference, oracle.jms, AQjmsDestination.grantQueuePrivilege

Example

QueueSession             q_sess;
Queue                    queue;

((AQjmsDestination)queue).grantQueuePrivilege(q_sess, "ENQUEUE", "scott", 
false);


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index