Advanced BPEL Functions using BizTalk
Listen Shape (<pick>, <onMessage>, <onAlarm>)
A Listen shape is used when you have to receive a message before proceeding further and also need to specify a timeout period until which BizTalk waits for the message. The Listen shape can have any number of branches each starting with a Receive shape or a Delay shape. Note that you can have all branches starting with a Receive shape in which case there is no timeout period. Alternatively you can have only one branch starting with a Delay shape and the rest must start with a Receive shape. The Listen shape is equivalent to the <pick>
, <onMessage>
, and <onAlarm>
activities of BPEL.
Scope Shape (<scope>)
A Scope shape in BizTalk is used to do the following:
Transaction handling
Synchronized access to shared data
Exception handling
A Scope shape has a Boolean Synchronized property, which indicates to BizTalk that all read and write operations on shared data from within the...