Oracle8i Application Developer's Guide - Advanced Queuing Release 2 (8.1.6) Part Number A76938-01 |
|
Administrative Interface, 24 of 25
To enable a previously disabled propagation schedule.
Not applicable.
See Chapter 3, "AQ Programmatic Environments" for a list of available functions in each programmatic environment. Use the following syntax references for each programmatic environment:
See Chapter 3, "AQ Programmatic Environments" for a list of available functions in each programmatic environment. Examples are provided in the following programmatic environments:
/* Enable propagation from queue aq.q1def to other queues in the same database */ EXECUTE DBMS_AQADM.ENABLE_PROPAGATION_SCHEDULE( Queue_name => 'aq.q1def');
/* Enable propagation from queue aq.q1def to other queues in another database reached by the database link another_db.world */ EXECUTE DBMS_AQADM.ENABLE_PROPAGATION_SCHEDULE( Queue_name => 'aq.q1def', Destination => 'another_db.world');
/* Enable propagation from a queue to other queues in the same database */ public static void example(AQSession aq_sess) throws AQException { AQQueue queue; AQAgent agent1; AQAgent agent2; /* Get the queue object */ queue = aq_sess.getQueue("AQ", "q1def"); queue.enablePropagationSchedule(null); } /* Enable propagation from a queue to other queues in another database */ public static void example(AQSession aq_sess) throws AQException { AQQueue queue; AQAgent agent1; AQAgent agent2; /* Get the queue object */ queue = aq_sess.getQueue("AQ", "q1def"); queue.enablePropagationSchedule("another_db.world"); }
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|