Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_AQADM , 16 of 31


ALTER_SUBSCRIBER Procedure

This procedure alters existing properties of a subscriber to a specified queue. Only the rule can be altered.Syntax

DBMS_AQADM.ALTER_SUBSCRIBER (
   queue_name     IN    VARCHAR2,
   subscriber     IN    sys.aq$_agent,
   rule           IN    VARCHAR2
   transformation IN    VARCHAR2);

Parameters

Table 5-17 ALTER_SUBSCRIBER Procedure Parameters
Parameter  Description 
queue_name
 

Name of the queue. 

subscriber
 

Agent on whose behalf the subscription is being altered. See "Agent"

rule
 

A conditional expression based on the message properties, the message data properties and PL/SQL functions.

Note: The rule parameter cannot exceed 4000 characters. To eliminate the rule, set the rule parameter to NULL

transformation
 

Specifies a transformation that will be applied when this subscriber dequeues the message. The source type of the transformation must match the type of the queue.

If the subscriber is remote, then the transformation is applied before propagation to the remote queue 

Usage Notes

This procedure alters both the rule and the transformation for the subscriber. If you wish to retain the existing value for either of them, you must specify its old value. The current values for rule and transformation for a subscriber can be obtained from the <schema>.AQ$<queue_table>_R and <schema>.AQ$<queue_table>_S views.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback