Configuring Oracle B2B Server Properties Configuring Oracle B2B Operations

Part XIII Administering Business Events This part describes how to administer business events. This part includes the following chapter: ■ Chapter 32, Managing Business Events 32 Managing Business Events 32-1 32 Managing Business Events This chapter describes how to manage business events. Business events consist of message data sent as the result of an occurrence in a business environment. When a business event is published, other service components or database agents can subscribe to it. This chapter includes the following topics: ■ Section 32.1, Introduction to the Event Delivery Network ■ Section 32.2, Subscribing to Business Events ■ Section 32.3, Managing Business Event Subscribers ■ Section 32.4, Recovering from Business Event Faults For more information about business events, see Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

32.1 Introduction to the Event Delivery Network

The subsystem of SOA that accepts published business events and delivers them to the subscribers is called the Event Delivery Network EDN. EDN has two different implementations: ■ EDN-DB EDN-DB uses an Oracle database as a back-end store and depends on Oracle-specific features. ■ EDN-JMS EDN-JMS uses a JMS queue as a back-end store. The correct implementation is configured during installation by Oracle Universal Installer. You can also make postinstallation changes. From an application development point of view, the two implementations are identical and the behavior is the same.

32.2 Subscribing to Business Events

You can subscribe to business events in Oracle Enterprise Manager Fusion Middleware Control. Business events consist of message data sent as the result of an occurrence in a business environment. You create business events in Oracle JDeveloper and include them in SOA composite applications that you deploy to Oracle Enterprise Manager Fusion Middleware Control. Service components and database agents can subscribe to business events. Only database agents can be subscribed to 32-2 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite from Oracle Enterprise Manager Fusion Middleware Control. Service components are only subscribed to from Oracle JDeveloper. When a business event is published, the entity subscribed to that event receives it. To subscribe to business events: 1. Access this page through one of the following options: The Events page displays the following details: ■ A utility for searching for a specific business event by specifying a full or partial name and clicking the Search icon. Click the Help icon for details. ■ Business events, including the namespace used, event name, number of subscriptions to each event, and number of failed event deliveries. Business events are contained within their namespace.

2. Select a specific event in the Namespaces and Events section.

3. Click Show Event Definition.

The event definition language EDL file for the selected event appears. The business event is defined using EDL. EDL is a schema used to build business event definitions. In this example, two business events named OrderReceivedEvent and ProductSoldAlert appear in the event definition. The namespace orders and associated schema file ProductOrder.xsd are referenced. From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... Select Business Events. Right-click soa-infra and select Business Events .