More Questions about the Correlation Set in BPEL workflow
I have created a workflow, it is waiting in a loop to reveive 5 messages, after a message recieved and processed, it goes back to wait for another message, it loops until all 5 messages are received. What happens if new message comes in during the privous one is still in processing (at this moment, no receive or on message activity is in execution)? The Worklfow engine would throw the message away?
ActiveBPEL workflow engine supports multiple receive activities for the same operation in the BPEL, and based on the initiate property (value would be yes/no) of correlationset, ActiveBPEL engine knows either create a new instance of workflow to process the received message or forward the message to an existing instance of workflow. With this mechanism, I can send a message (data which needs to be processed is included in the message) to other workflow (or web service) for processing, and wait for the same message comming back after it gets processed.
Thanks
kebin

