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

[997 byte] By [kew98a] at [2007-11-27 11:42:18]
# 1

Could you please mention specifically, if it is a BPEL SE or workflow SE? openESB has both, it avoids confusion. (Nothing wrong in saying BPEL workflow, but to avoid confusion)

I think you mean BPEL SE, today the BPEL SE will not throw the messages. If the machine crashes before the message is consumed, after recovery it won't have the message in it's queue.

As i have already mentioned earlier, as of now, we don't support multiple receives in the same BPEL. We have intentions to support it, hopefully we get to it ASAP according to the schedules we have at hand.

hope that helps,

Kiran B.

kiran.bhumanaa at 2007-7-29 17:43:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

It would be great if multiple receives for the same operation in the same BPEL are supported in the future.

Thanks

kew98a at 2007-7-29 17:43:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...