Your browser does not support JavaScript. This help page requires JavaScript to render correctly.
Skip Headers
Previous
Previous
 
Next
Next

Tutorial: Configuring Message Notifications

You can configure message notifications that alert applications or users when a message of interest is enqueued.

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:

  1. The first application determines various parameters that must be set in the second application and the values for these parameters.

  2. The first application enqueues messages that contain the following attributes:

    • parameter: Specifies the parameter to set in the second application

    • value: Specifies the parameter value

  3. Message notification alerts the second application that there are new messages in the queue.

  4. The second application dequeues the messages and sets the parameters to the values in the messages.

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.

Figure: Sample Messaging Environment That Uses Message Notification provides an overview of the messaging environment created in this example.

Sample Messaging Environment That Uses Message Notification

Description of this figure follows
Description of "Sample Messaging Environment That Uses Message Notification"

Note: You can also configure message notification in an environment that sends messages between databases. See "Tutorial: Sending Messages Between Oracle Databases" for an example of an environment that sends messages between databases.

To configure a message notification: 

Related Topics

About Message Notifications

Oracle Streams Advanced Queuing User's Guide for detailed information about message notification features