Summary
In this chapter, we have learned about different types of events and managing the events from BPEL processes within the SOA environment. We have explained the events and the difference between the event-driven approach and operation invocations. We have briefly mentioned the Event Driven Architecture. We have learned that a BPEL process can react on business events, message events, and alarm events. Business events are events with a well-defined business meaning, which are explicitly triggered by a process, service, or other software component. Message events are triggered by operation invocations on port types. Alarm events are triggered by deadline or duration expressions.
A BPEL process can be event-driven, which means that it will be triggered by a business event. A BPEL process can also trigger a business event, which will result in executing all processes, services, and other components subscribed to this type of event.
A BPEL process can react on events using event handlers...