4 Event Notification Reference Implementation

This chapter contains the following topics:

4.1 RIForOutbound Reference Implementation Overview

The RIForOutbound reference implementation is an example of how you can use JD Edwards EnterpriseOne to send event notifications to third-party systems.

JD Edwards EnterpriseOne sends event notifications as JMS messages through JMS Queue and JMS Topic. The JD Edwards EnterpriseOne Transaction Server is the primary business event system for publishing guaranteed event notifications. When a transaction occurs in JD Edwards EnterpriseOne, the Transaction Server retrieves the data based on event configuration, converts the data to a properly formatted XML document, and routes the event to the JMS Queue or JMS Topic subscriber that are configured on a server accessible to orchestration systems. Any orchestration system that can read from JMS Queues and JMS Topics can consume these event notifications from JD Edwards EnterpriseOne.

To use this reference implementation, you must use the BPEL or ESB orchestration systems. JMS Queue and JMS Topic must be configured on an application server that is accessible to both the JD Edwards EnterpriseOne Transaction Server and the BPEL or ESB server. The application server can be on the same machine as the BPEL or ESB server.

4.2 Accessing the RIForOutbound Reference Implementation

The files for the RIForOutbound reference implementation are in a Zip file located in the JD Edwards EnterpriseOne installation directory:

\\EnterpriseOneInstallDirectory\System\Classes\samples\ESB

The Zip file includes a readme file that contains instructions on how to configure and test this reference implementation.

You must perform these tasks to use the RIForOutbound reference implementation to test your setup:

  1. Create a JMS Queue on the BPEL/ESB application server.

  2. Use the Interoperability Event Subscriber program (P90702A) in JD Edwards EnterpriseOne to create a JMS Queue subscriber.

  3. Set up an administrator user (for example oc4jadmin) in the JDE.INI file on the Transaction Server. The username and password are used to make a connection to JMS queue. You must restart the Transaction Server after configuring this JDE.INI setting.

  4. Follow the instructions in the readme, including the instructions on how to configure the ESB project to run the RIForOutbound reference implementation.