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

In the example above, an apply rule is created for the apply_site1_msg apply process. The rule instructs the apply process to dequeue messages of the oe.cust_address_typ from the streams_queue that contain a country code of US.

The set_message_notification procedure sets a notification for messages dequeued by a specified streams messaging client from a specific queue. With the help of this procedure, you can do the following:

  • Specify an email address to which message notifications are sent
     

  • Register a procedure to be invoked on a notification
     

  • Register a http url to which the notification is posted

Let us look at an example showing its usage. To send e-mail notification, use the following PL/SQL block:

BEGIN
DBMS_STREAMS_ADM.SET_MESSAGE_NOTIFICATION (
streams_name         => 'oe',
notification_action  => 'gary.waskow@myshop.com',
notification_type    => 'MAIL',
include_notification => true,
queue_name => 'STRMADMIN.STREAMS_QUEUE');
END;
/

The include_notification parameter turns notification on or off for the specified queue. Here are the notification_type and notification_action combination.

For PL/SQL procedure notifications, specify a PL/SQL procedure name:

notification_type   => 'PROCEDURE'
notification_action => 'oe.notify_address_arrival'

For email notifications, specify an email address:

notification_type   => 'MAIL'
notification_action => 'sandi.tumma@myshop.com'

For URL notifications, specify a URL without the prefix http://

notification_type => 'HTTP'


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.