Chapter 17 Working with WS-BPEL 2.0


Receive activity

The receive activity defines how the business process waits for a matching message to arrive. The receive activity supports the concept of implicit assignments using the element <fromParts>.

Syntax

<receive name="ReceiveCreditInfo" partnerLink="CreditOrg" portType="cc:CheckCreditPT" operation="CheckCreditCallback"
   variable="VCreditInfo" createInstance="no">
  <correlations>
     <correlation set="AccountKey" initiate="no"/>
  </correlations>
</receive>


Mapping

You design a receive activity in any of the following ways:

Extended attributes

The following extended attributes apply to the receive activity and are available from its property sheet:

Name Internal code Description
Create Instance CreateInstance Instantiates the process
Initiate Correlation InitiateCorrelation When a correlation is used by the receive activity the initiate attribute can be yes, no or join
Join Condition joinCondition Join condition
Suppress Join Failure suppressJoinFailure Avoids propagation of Join Failure exceptions
MultipleCorrelation Defines BPEL Invoke, Receive or Reply activities using several correlations.
expressionLanguage Specifies the expression language used in expressions

 


Copyright (C) 2007. Sybase Inc. All rights reserved.