Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpii\tdpii_messaging010.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Task 2: Configuring the Queues and Propagation Between Them</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1.1 Build 005" /> <meta name="date" content="2009-06-04T17:1:2Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Task 2: Configuring the Queues and Propagation Between Them" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10703-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdpii_messaging009.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpii_messaging011.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdpii_messaging009.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_messaging011.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDHBBDJ" name="CHDHBBDJ"></a><a id="TDPII037" name="TDPII037"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1>Task 2: Configuring the Queues and Propagation Between Them<a id="sthref596" name="sthref596"></a></h1> <a name="BEGIN" id="BEGIN"></a> <p>Create a queue at each database, and create a propagation to send messages about orders from the queue at the <code>ii1.example.com</code> database to the queue at the <code>ii2.example.com</code> database.</p> <p class="orderedlisttitle">To create a propagation: </p> <ol> <li> <p>Create a queue named <code>streams_queue</code> in the schema of the Oracle Streams administrator at both the <code>ii1.example.com</code> and <code>ii2.example.com</code> databases. See <a href="tdpii_common_ii005.htm#CHDJHCAI">"Creating an ANYDATA Queue"</a> for instructions.</p> </li> <li><a id="CHDDIHDB" name="CHDDIHDB"></a> <p>Create a database link named <code>ii2.example.com</code> in the Oracle Streams administrator schema at <code>ii1.example.com</code>. Configure the database link to connect to the Oracle Streams administrator schema at <code>ii2.example.com</code>. The service name of the database link must be <code>ii2.example.com</code>. See <a href="tdpii_common_ii006.htm#BGBGIACD">"Tutorial: Creating a Database Link"</a> for instructions.</p> </li> <li> <p>In Oracle Enterprise Manager, log in to the <code>ii1.example.com</code> database as the Oracle Streams administrator.</p> </li> <li> <p>Go to the Database Home page.</p> </li> <li> <p>Click <span class="bold">Data Movement</span> to open the Data Movement subpage.</p> </li> <li> <p>Click <span class="bold">Manage Replication</span> in the Streams section.</p> </li> <li> <p>On the Streams page, click <span class="bold">Streams</span> to open the Streams subpage.</p> </li> <li> <p>Click <img src="shortcut.png" alt="callback" border="0" /><a href="javascript:void(0);" onclick="redirectEMpage('PROPAGATION_SETUP');"><span class="bold">Setup Propagation</span></a> to open the Setup Propagation page.</p> </li> <li> <p>Enter <code>send_orders</code> in the Propagation Name field.</p> </li> <li> <p>Enter <code>strmadmin.streams_queue</code> in the Source Queue field. This queue is the queue at the <code>ii1.example.com</code> database into which messages about orders will be enqueued.</p> </li> <li> <p>Enter the name of the database link that you created in Step <a href="#CHDDIHDB">2</a> in the Destination Database Link field. In this example, the database link name is <code>ii2.example.com</code>.</p> </li> <li> <p>Enter <code>strmadmin.streams_queue</code> in the Destination Queue field. This is the queue at the <code>ii2.example.com</code> database to which messages about orders will be sent.</p> </li> <li> <p>Leave the Positive Rule Set and Negative Rule Set fields empty. When a propagation does not have a rule set, it sends all of the messages in the source queue to the destination queue.</p> </li> <li> <p>Enable the <span class="bold">Queue to Queue Propagation</span> option.</p> </li> <li> <p>Click <span class="bold">OK</span> to create the propagation.</p> </li> <li> <p>Complete the steps in <a href="tdpii_messaging011.htm#CHDBIECC">"Task 3: Configuring a Message Enqueuing Mechanism"</a> to continue this extended example.</p> </li> </ol> <div class="helpinfonote"> <p><span class="bold">Note: </span>You can also use the <a href="javascript:open('http://www.oracle.com/pls/db112/lookup?id=ARPLS333','newWindow').focus()"><code>DBMS_PROPAGATION_ADM.CREATE_PROPAGATION</code></a> procedure to create a propagation.</p> </div> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpii_messaging008.htm#CHDBACBE">Tutorial: Sending Messages Between Oracle Databases</a></p> <p><a href="tdpii_messaging001.htm#CHDIJFHB">About Messaging</a></p> <p><a href="tdpii_messaging023.htm#CHDBGJHH">Modifying Propagations</a></p> </div> </div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdpii_messaging009.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_messaging011.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de