Creating a Custom Real-Time Event

JD Edwards EnterpriseOne provides predefined real-time events that capture certain JD Edwards EnterpriseOne transactions and notify subscribers about the transaction. If you have requirements that are not satisfied by the predefined real-time events, you can create a custom real-time event. This chapter of the Interoperability Guide provides conceptual information about real-time events, identifies APIs for creating real-time events, and provides sample code.

Before you create a custom real-time event, you should review the existing real-time events to determine if there is one that you can use as a model for creating your custom real-time event. Detail information about each real-time event can be found in the JD Edwards EnterpriseOne Applications Business Interface Reference Guide.

See "JD Edwards EnterpriseOne Application Real-Time Events Overview" in the JD Edwards EnterpriseOne Applications Business Interface Reference Guide.

Use the following steps to create a custom real-time event. Each step includes a reference to documentation that provides more information about that step.

  1. Determine the type of real-time event (single, aggregate, or composite).

    See Understanding Real-Time Event Generation.

  2. Create a new data structure or modify an existing data structure to pass data.

    See "Creating Data Structures" in the JD Edwards EnterpriseOne Tools Data Structure Design Guide.

  3. Create a new event definition.

    See Defining Events.

  4. Create a new business function or modify an existing business function to call the API that generates the event.

    See Using Business Function Calls.

    See "Understanding Business Functions" in the JD Edwards EnterpriseOne Tools APIs and Business Functions Guide.

    See "Development Standards for Business Function Programming Overview" in the JD Edwards EnterpriseOne Tools Development Standards for Business Function Programming Guide.

  5. Build and promote the business function.

    See "Understanding Package Management" in the JD Edwards EnterpriseOne Tools Package Management Guide.

  6. Add the subscriber, associate the event to the subscriber, and enable the subscription.

    See Establishing Subscriber and Subscription Information.

  7. Configure Object Configuration Manager (OCM) for Guaranteed Event Delivery.

    See Setting Up OCM for Guaranteed Events.

  8. Configure and start your servers (transaction, integration, and enterprise) and test the real-time event.

    See Understanding Guaranteed Events Processing.

    See JD Edwards EnterpriseOne Tools Server Manager Guide

    See JD Edwards EnterpriseOne Deployment Server Reference Guide for your platform. http://docs.oracle.com/cd/E61420_01/index.htm

    See JD Edwards EnterpriseOne Transaction Server Reference Guide for your platform and application server. http://docs.oracle.com/cd/E61420_01/index.htm