OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [wsbpel] Issue - 123 - Matching <reply> with <receive>



------------------------------------------------------
How adding partnerlinks can help?

Adding partnerlinks (may be or may not be locally scoped) can already help us to resolve ambiguity between multiple receive reply activities in some cases even without using "messageElement"/"usage" attribute. For example:

<scope>
  ...
  <partnerLink name="plink1" partnerLinkType="foo:LT1" ... />
  <partnerLink name="plink2" partnerLinkType="foo:LT1" ... />
  ...
  <sequence>
    <receive partnerLink="plink1" operation="op1" ... />
      ...
      <receive partnerLink="plink2" operation="op1" ... />
      ...
      <reply partnerLink="plink2" operation="op1" ... />
    ...
    <reply
partnerLink="plink1" operation="op1" ... />
  </sequence>
</scope>

With the introduction of "plink2" (may or may not be locally scoped), the ambiguity of receive activities of same operations are gone. And, the locally scoped partnerLink technique should work quite well for concurrent flows also.
------------------------------------------------------


Regards,
Alex Yiu




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]