Download Oracle Streams Advanced Queuing User's Guide and Reference
Transcript
Propagation Schedules Topic topic; ((AQjmsDestination)topic).stop(t_sess, true, false); Altering a Destination public void alter(javax.jms.Session session, oracle.jms.AQjmsDestinationProperty dest_property) throws JMSException This method alters a destination. It has the following properties: Parameter Description session JMS session dest_property New properties of the queue or topic Example 12–26 Altering a Destination QueueSession q_sess; Queue queue; TopicSession t_sess; Topic topic; AQjmsDestionationProperty dest_prop1, dest_prop2; ((AQjmsDestination)queue).alter(dest_prop1); ((AQjmsDestination)topic).alter(dest_prop2); Dropping a Destination public void drop(javax.jms.Session session) throws JMSException This method drops a destination. It has the following parameter: Parameter Description session JMS session Example 12–27 Dropping a Destination QueueSession Queue TopicSession Topic q_sess; queue; t_sess; topic; ((AQjmsDestionation)queue).drop(q_sess); ((AQjmsDestionation)topic).drop(t_sess); Propagation Schedules This section contains these topics: ■ Scheduling a Propagation ■ Enabling a Propagation Schedule ■ Altering a Propagation Schedule ■ Disabling a Propagation Schedule Oracle JMS Basic Operations 12-17