Oracle Insurance Gateway as Event Store
Oracle Insurance Gateway provides an ability to store opaque events that can be consumed at a later period of time through an integration. This facility aids in storing adhoc events/payloads from other systems and consume them as a unit for other downstream systems.
Event Store Invocation
Events are stored using Event Store Integration Point. Please refer to the Developer Guide on the available methods and structure.
Process After Invocation
The invocation of event store leads to storing the event in the Events table. The structure of the stored event is:
Field | Description |
---|---|
id |
Primary key. |
type |
Type of the event. The path parameter from the invocation. |
correlationId |
If there is a correlation for the event, like claim code or policy gid, it can be stored here. This field comes in as a header parameter on the events api. |
creationDate |
Creation timestamp of the event. |
payload |
Opaque payload of the event. |
Events Consumption
Stored events can be consumed using dynamic logic. The dynamic logic event consumption methods are explained in the Dynamic Logic Predefined Methods section. Once an event is consumed through an exchange (step), it is flagged in the ExchangeEvents model as being handled. The same event can be handled in multiple integrations. The model of ExchangeEvents is as listed in the following table:
Field | Description |
---|---|
id |
Primary Key. |
exchange |
Reference to the exchange. |
event |
Reference to the event. |
creationDate |
Creation timestamp of the event handling by the exchange. |
This model serves for trace-ability/audit-ability of event handling. It also allows to fetch unhandled events of a certain event type.