Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpii\tdpii_messaging015.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>Tutorial: Configuring Message Notifications</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="Tutorial: Configuring Message Notifications" /> <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_messaging014.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpii_messaging016.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_messaging014.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_messaging016.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDGEHCF" name="CHDGEHCF"></a><a id="TDPII043" name="TDPII043"></a></p> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h1>Tutorial: Configuring Message Notifications<a id="sthref619" name="sthref619"></a><a id="sthref620" name="sthref620"></a></h1> <a name="BEGIN" id="BEGIN"></a> <p>You can configure message notifications that alert applications or users when a message of interest is enqueued.</p> <p>The example in this topic illustrates how you can use message notifications to enable two applications to communicate with each other. In this example, the applications communicate in the following way:</p> <ol> <li> <p>The first application determines various parameters that must be set in the second application and the values for these parameters.</p> </li> <li> <p>The first application enqueues messages that contain the following attributes:</p> <ul> <li> <p><code>parameter:</code> Specifies the parameter to set in the second application</p> </li> <li> <p><code>value:</code> Specifies the parameter value</p> </li> </ul> </li> <li> <p>Message notification alerts the second application that there are new messages in the queue.</p> </li> <li> <p>The second application dequeues the messages and sets the parameters to the values in the messages.</p> </li> </ol> <p>For simplicity, this example does not create the two applications. Instead, it illustrates how to configure a message notification and how message notification can be used to dequeue messages of interest automatically when they are enqueued.</p> <p><a href="#BABGEHJC">Figure: Sample Messaging Environment That Uses Message Notification</a> provides an overview of the messaging environment created in this example.</p> <div class="figure"><a id="BABGEHJC" name="BABGEHJC"></a><a id="TDPII313" name="TDPII313"></a> <p class="titleinfigure">Sample Messaging Environment That Uses Message Notification</p> <img src="img/tdpii508.gif" alt="Description of this figure follows" title="Description of this figure follows" longdesc="img_text/tdpii508.htm" /><br /> <a id="sthref621" name="sthref621" href="img_text/tdpii508.htm">Description of "Sample Messaging Environment That Uses Message Notification"</a><br /> <br /></div> <!-- class="figure" --> <div class="helpinfonote"> <p><span class="bold">Note: </span>You can also configure message notification in an environment that sends messages between databases. See <a href="tdpii_messaging008.htm#CHDBACBE">"Tutorial: Sending Messages Between Oracle Databases"</a> for an example of an environment that sends messages between databases.</p> </div> <p class="itemizedlisttitle">To configure a message notification: </p> <ul> <li> <p><a href="tdpii_messaging016.htm#BABIJEBG">Task 1: Creating the Message Type</a></p> </li> <li> <p><a href="tdpii_messaging017.htm#BABGHHDA">Task 2: Configuring a Queue and a Messaging Client</a></p> </li> <li> <p><a href="tdpii_messaging018.htm#BABFGHCC">Task 3: Configuring a Mechanism for Dequeuing Messages</a></p> </li> <li> <p><a href="tdpii_messaging019.htm#BABJIDFE">Task 4: Configuring Message Notification</a></p> </li> <li> <p><a href="tdpii_messaging020.htm#BABEGBAG">Task 5: Enqueuing Messages and Checking for Message Notification</a></p> </li> </ul> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpii_messaging004.htm#CHDFEFHI">About Message Notifications</a></p> <p><a href="javascript:open('http://www.oracle.com/pls/db112/lookup?id=ADQUE','newWindow').focus()"><span class="italic">Oracle Streams Advanced Queuing User's Guide</span></a> for detailed information about message notification features</p> </div> <!-- 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_messaging014.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_messaging016.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --></div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de