Oracle9i Application Developer's Guide - Advanced Queuing Release 1 (9.0.1) Part Number A88890-02 |
|
Basic Components, 5 of 5
You can specify the AQ_TM_PROCESSES
and JOB_QUEUE_PROCESSES
parameters in the init.ora
parameter file.
A parameter called AQ_TM_PROCESSES
should be specified in the init
.ora
PARAMETER
file if you want to perform time monitoring on queue messages. Use this for messages that have delay and expiration properties specified. This parameter can be set in a range from 0 to 10. Setting it to any other number will result in an error. If this parameter is set to 1, one queue monitor process (QMN) will be created as a background process. If the parameter is not specified, or is set to 0, the queue monitor process is not created.
Table 2-9 lists parameter information.
Propagation is handled by job queue (SNP) processes. The number of job queue processes started in an instance is controlled by the init.ora
parameter JOB_QUEUE_PROCESSES
. The default value of this parameter is 0. For message propagation to take place, this parameter must be set to at least 1. The database administrator can set it to higher values if there are many queues from which the messages have to be propagated, or if there are many destinations to which the messages have to be propagated, or if there are other jobs in the job queue.
The Java Advanced Queuing API supports both the administrative and operational features of Advanced Queuing. In developing Java programs for messaging applications, you will use JDBC to open a connection to the database and then use oracle.AQ
, the Java AQ API for message queuing. This means that you will no longer need to use PL/SQL interfaces.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|