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

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


Free Oracle App Server Tips


Oracle support

Oracle training

Oracle tuning


Remote Oracle

Custom Oracle Training


  Oracle Tips by Burleson

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

Optionally, you can enhance the above example, by adding the parameter dequeue_mode, which can take the values REMOVE, LOCKED, or BROWSE.

You may also use the navigation parameter to specify the position of the message you are attempting to dequeue. You can choose the values NEXT MESSAGE, NEXT TRANSACTION, or FIRST MESSAGE.

Now, let us look at another example, showing the usage of the add_message_propagation_rule procedure. The add_message_propagation_rule procedure uses the information you supply to create a new evaluation context and associates it with the new rule. The evaluation context has a system-generated name. By using this procedure, you no longer need to create a special evaluation context to be used when determining if a user-enqueued message meets the rule criteria.

For example,

message_type      => 'OE.CUST_ADDRESS_TYP',
rule_condition    => ':MSG.COUNTRY_ID = ''US''',
streams_name      => 'SITE2_MSG_PROPAGATION',
source_queue_name => 'STRMADMIN.STREAMS_QUEUE',
destination_queue_name =>

To explain the usage of add_message_rule, let us take another example.

message_type   => 'oe.cust_address_typ',
rule_condition => ':MSG.COUNTRY_ID = ''US''',
streams_type   => 'apply',
streams_name   => 'apply_site1_msg',
queue_name     => 'STRMADMIN.STREAMS_QUEUE');

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:

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:


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.