Additional Constructs in the BPEL Process


The next sections outline the following, additional constructs:

  • compensation handlers

  • correlation sets

  • event handlers

  • fault handlers

  • imports

  • message exchanges

  • partner links

  • process

  • termination handlers

  • variables

Compensation Handlers

A compensation handler is an activity (usually a structured activity) that

  • compensates for a change made successfully by the scope

  • runs after being invoked by a parent scope

We describe compensation in Chapter 7.

 <compensationHandler>    activity </compensationHandler> 

Here's an example.

 <compensationHandler name="RemoveQuote">    <sequence>       <invoke name="RemoveQuote"               partnerLink="QuoteManagementPL"               portType="QuoteManagementPT"               operation="releaseQuote"               inputVariable="quoteDetail" />    </sequence> </compensationHandler> 

Correlation Sets

A correlation set is a list of properties whose values are expected to remain constant throughout a process or throughout a specific scope. We describe correlation sets and their purpose in Chapter 7.

 <correlationSets>?    <correlationSet name="NCName" properties="QName-list" />+ </correlationSets> 

Here's an example.

 <correlationSets>    <correlationSet name="Order"                    properties="customerID orderID" /> </correlationSets> 




SOA for the Business Developer. Concepts, BPEL, and SCA
SOA for the Business Developer: Concepts, BPEL, and SCA (Business Developers series)
ISBN: 1583470654
EAN: 2147483647
Year: 2004
Pages: 157
Authors: Ben Margolis

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net