Database Reference
In-Depth Information
cessed in parallel for a better response time. We can create
two BPEL branches and execute both in parallel using Flow.
Pick
• Pick enables BPELs to implement event-based business logic
that forces the process to wait until an event occurs.
• Pick enables BPELs to wait for message event(s) that are
defined on onMessage or time condition alarm event(s) that
are defined on onAlarm .
• Pick is very similar to onMessage in asynchronous JMS pro-
cessing. The onMessage trigger will process the message
once it arrives in either queue or topic.
Sequence
• Single-threaded processing
• Enables executing a set of activities sequentially in a BPEL
process
forEach
• Replaces FlowN activity of BPEL 1.1.
• It is similar to a for loop in a programming language such as
Java that enables the execution of multiple activities sequen-
tially or in parallel.
Fault and error handling
Fault and error handling activity in BPEL allows us to implement the recovery from
the runtime errors or business constraints. BPEL provides different fault-handling
activities such as Catch, CatchAll, and Throw. Brief descriptions of the fault and error
handling activities are listed as follows:
Catch
• Catches an error condition
• Catch enables BPELs to catch an error or fault by its name.
The catch activity gets executed only on failures
Search WWH ::




Custom Search