BPEL process

This view shows the BPEL constructs that are used to implement the delivery process with Business Process Choreographer.

 

There are three correlation sets defined for the delivery process, one for each interface partner: Client, Shipping, Charging. The correlation sets use different numbers of properties.

step1 The first receive activity starts the process and initializes the correlation set Client.
This correlation set is used to identify the process instance when the second message arrives. This second message specifies which goods have to be shipped.

The return value of the invoke activity Ship includes a reference number, which is used to initialize the correlation set Shipping. This correlation set is used to identify the process instance on the subsequent receive activities that are called through the ShippingInformation interface.

The third correlation set is initialized with values from the input message of the invoke activity Charge. There are three properties in this correlation set: cardNumber, cardCompany and amount.This correlation set is used when the charging process signals completion.

Delivery process