Oracle8i Application Developer's Guide - Advanced Queuing Release 2 (8.1.6) A76938-01 |
|
JMS Administrative Interface: Basic Operations, 18 of 30
Grant a topic privilege in the publish-subscribe model.
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 topic.
See Java (JDBC): Oracle8i Supplied Java Packages Reference, oracle.jms, AQjmsDestination.grantTopicPrivilege
TopicSession t_sess; Topic topic; ((AQjmsDestination)topic).grantTopicPrivilege(t_sess, "ENQUEUE", "scott", false);
|
Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|