Create Users and Grant Permissions Create AQ Queue Tables
7.2.1.1 Create Users and Grant Permissions
Create users in the database and grant them AQ JMS permissions. Use a database user with administrator privileges to perform the following task: ■ Using the Oracle SQLPlus environment, log in with an administrator login. connect as sysdba; ■ Create the JMS user schema. For the following example, the user name is jmsuser and the password is jmsuserpwd. Grant connect, resource TO jmsuser IDENTIFIED BY jmsuserpwd; ■ Grant the AQ user role to jmsuser. Grant aq_user_role TO jmsuser; ■ Grant execute privileges to AQ packages. Grant execute ON sys.dbms_aqadm TO jmsuser; Grant execute ON sys.dbms_aq TO jmsuser; Grant execute ON sys.dbms_aqin TO jmsuser; Grant execute ON sys.dbms_aqjms TO jmsuser;7.2.1.2 Create AQ Queue Tables
Each JMS queue or topic for AQ JMS is backed by an AQ queue table. Each queue table serves as a repository for JMS messages. A JMS queue or topic see Section 7.2.1.2, Create AQ Queue Tables is a logical reference to the underlying AQ queue table. AQ queue tables are created within individual JMS user schemas and can be defined using Oracle SQLPLUS. For example: connect jmsuser jmsuserpwd; Configuring an AQ queue table requires a minimum of three parameters: the name of the queue table, the payload type, and a flag for whether the AQ queue table accepts multiple consumers. For example: dbms_aqadm.create_queue_table queue_table=myQueueTable, queue_payload_type=sys.aq_jms_text_message, multiple_consumers=false ; where: ■ queue_table: The queue table name. Mixed case is supported if the database is 10.0 but the name must be enclosed in double quotes. Queue table names must not be longer than 24 characters. ■ queue_payload_type: The message type. Use sys.aq_jms_message to support all JMS message interface types. ■ multiple_consumers: Set false for queues; set true for topics. For more information on creating queue tables, see CREATE_QUEUE_TABLE Procedure in Oracle Database PLSQL Packages and Types Reference. Interoperating with Oracle AQ JMS 7-57.2.1.3 Create a JMS Queue or Topic
Parts
» Oracle Fusion Middleware Online Documentation Library
» Document Scope and Audience Guide to This Document
» Enterprise-Grade Reliability WebLogic Server Value-Added JMS Features
» Enterprise-Level Features WebLogic Server Value-Added JMS Features
» Performance WebLogic Server Value-Added JMS Features
» Tight Integration with WebLogic Server Interoperability With Other Messaging Services
» What Is the Java Message Service? WebLogic JMS Architecture and Environment
» Related Documentation Domain Configuration
» JMS Server Behavior in WebLogic Server 9.x and Later
» JMS System Modules JMS Application Modules
» Comparing JMS System Modules and Application Modules Configurable JMS Resources in Modules
» Persistent Stores JMS Store-and-Forward SAF Path Service
» What Are JMS Configuration Resources? Methods for Configuring JMS System Resources
» JMS Server Configuration Parameters
» JMS Server Targeting JMS Server Monitoring Parameters Session Pools and Connection Consumers
» Default Targeting Advanced Subdeployment Targeting
» Using a Default Connection Factory
» Connection Factory Configuration Parameters Connection Factory Targeting
» Advantages of JMS Clustering
» Configuration Guidelines for JMS Clustering What About Failover?
» Path Service High Availability Implementing Message UOO With a Path Service
» How WebLogic JMS Accesses Foreign JMS Providers Sample Configuration for MQSeries JNDI
» Targeting Uniform Distributed Queues and Topics
» Load Balancing Options Load Balancing Messages Across a Distributed Destination
» Consumer Load Balancing Producer Load Balancing Defeating Load Balancing
» Distributed Destination Load Balancing When Server Affinity Is Enabled
» Distributed Destination Migration Distributed Destination Failover
» Configure Shared Subscriptions Oracle Fusion Middleware Online Documentation Library
» Methods for Configuring JMS Application Modules
» Sample of a Simple Standalone JMS Application Module Deploying Standalone JMS Application Modules
» How to Create JMS Servers and JMS System Module Resources
» Using AQ Destinations as Foreign Destinations Driver Support Transaction Support
» Create Users and Grant Permissions Create AQ Queue Tables
» Configure a WebLogic Data Source
» Configure AQ JMS Foreign Server Destinations
» Message Driven Beans AQ JMS Extensions
» Resource References JDBC Connection Utilization Oracle RAC Support Debugging
» Controlling Access to Destinations that are Looked Up using the JMS API
» WebLogic Messaging Bridge Advanced Topics
» Monitoring Queues Monitoring Topics Monitoring Durable Subscribers for Topics
» Monitoring Message Runtime Information Querying Messages
» Moving Messages Deleting Messages Creating New Messages
» JMS Message Management Using Java APIs Managing Transactions
» Managing Durable Topic Subscribers
» Configure JMS Servers and Persistent Stores.
» Configure a JMS Module Configure JMS Resources
» Enable Debugging Using the Command Line Enable Debugging Using the WebLogic Scripting Tool
» Changes to the config.xml File
» JMS Debugging Scopes Debugging JMS
» Messaging Kernel and Path Service Debugging Scopes Request Dyeing
» Enabling JMS Message Logging
» JMS Message Log Record Format
» Consumer Created Event Consumer Destroyed Event Message Produced Event Message Consumed Event
» Message Expired Event Retry Exceeded Event
» Pausing and Resuming Production at Boot-time Pausing and Resuming Production at Runtime
» Pausing and Resuming Insertion at Boot Time Pausing and Resuming Insertion at Runtime
» Pausing and Resuming Consumption at Boot-time Pausing and Resuming Consumption at Runtime
Show more