Understanding the Business Events Resequencer Technical Accelerator

You often need to ensure that events are processed in a strict order. The Business Events Technical Accelerator provides a way to ensure that business events entering the system are processed in a specific order. The next section outlines the pattern for fetching business events and shows how the Oracle Integration and the FIFO Accelerator enforces a processing order. This pattern also deals with the scenario where you must limit the concurrency of calls to an external system.

Fetching Business Events

To fetch business events that will be executed by Hospitality Technical Accelerator:
  • Business events are captured from OHIP using the OIC Hospitality Adapter (Trigger Role).

  • The following OHIP APIs are used to fetch business events:

    • Fetch just for given Hotel ID (default) — /int/v1/externalSystem/{extSystemCode}/hotels/{hotelId}/businessEvents

    • Fetch for all Hotel IDs of the tenant associated to the External System ID — /int/v1/externalSystem/{extSystemCode}/businessEvents

  • Using the OIC Hospitality Adapter, users can select to fetch all business events related to one particular external system id or fetch business events related to one hotel id that corresponds to an external system id.

  • A maximum of 20 business events can be fetched in a poll.

  • The polling interval lies between 5 seconds to 600 seconds.

  • Multiple OIC instances fetch the business events.

This Technical Accelerator has a set of OIC integrations that address the re-sequencing of OPERA Cloud Business Events to the original sequence per a sorting logic. New business events from OPERA Cloud for a hotel or multiple hotels within a hotel chain are pulled using Oracle Hospitality Integration Platform (OHIP) APIs and Oracle Hospitality Adapter via integrations that re-sequence these business events in an Oracle Autonomous Transaction Processing (ATP) (to be provisioned separately). The re-sequence uses the business event timestamp and business event id to ensure the sequence of business events is accurate and delivered in a FIFO fashion to the target external system.