Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Home
Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients

 

Free Oracle Tips


 
HTML Text AOL

Free Oracle App Server Tips


 
HTML Text

Oracle support

Oracle training

Oracle tuning

Rednecks!

Remote Oracle

Custom Oracle Training

 

   
  Oracle Tips by Burleson

Oracle 10g Rule-based Propagations for User-enqueued messages

A new procedure, add_message_propagation_rule in the dbms_streams_adm package enables you to configure propagations and create rules for propagations that propagate user-enqueued messages.

Message Notifications

A new procedure, set_message_notification in the dbms_streams_adm package, enables you to configure message notifications that are sent when a Streams messaging client dequeues messages. The notification can be sent to an email address, a URL, or a pl/sql procedure.

Let us see some examples to explain the enhancements.

DECLARE
any_payld SYS.AnyData
BEGIN
any_payld := SYS.AnyData.ConvertObject(
oe.cust_address_typ('2467 Harward St’,'298968','Newyork','NY', 'USA'));
DBMS_STREAMS_MESSAGING.ENQUEUE(
queue_name => 'STRMADMIN.STREAMS_QUEUE',
payload => any_payld);
END;
/

We have enqueued the customer address in the above statement.

Now, use the dequeue method to dequeue and display the details as shown in the example below. Here the messaging client is ‘oe’.

DECLARE
any_payld SYS.AnyData;
cust_addr oe.cust_address_type;
num_var PLS_INTEGER;
BEGIN
DBMS_STREAMS_MESSAGING.DEQUEUE(
queue_name => 'strmadmin.streams_queue',
streams_name => 'oe',
payload => any_payld,
navigation => 'NEXT MESSAGE');
num_var := any_payld.GETOBJECT(cust_addr);
DBMS_OUTPUT.PUT_LINE('Successfully retrieved the
address for the city of ' || cust_addr.city);
END;
/


Get the complete story:

The above text is an excerpt from "Oracle Database 10g New Features: Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

http://rampant-books.com/book_2003_2_oracle10g.htm


Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:

http://www.dba-oracle.com/service_oracle_backup.htm

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
Oracle performance Tuning 10g reference poster
 
Oracle training in Linux commands
 
Oracle training Excel
 
 
 
 

 

email BC:


Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.