[ 
https://issues.apache.org/jira/browse/ODE-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Ahn updated ODE-434:
-------------------------

    Description: 
To achieve this, we need to implement the dependencies between:

an instance creating receive/its waiting jacob runnable, and the rest of 
receive runnables that are in the same flow

<flow>
   <links>
      <link name="buyToSettle" />
      <link name="sellToSettle" />
   </links>
   <receive name="receiveBuyerInformation" createInstance="yes" ...>
      <sources>
         <source linkName="buyToSettle" />
      </sources>
      <correlations>
         <correlation set="tradeID" initiate="join" />
      </correlations>
   </receive>
   <receive name="receiveSellerInformation" createInstance="yes" ...>
      <sources>
         <source linkName="sellToSettle" />
      </sources>
      <correlations>
         <correlation set="tradeID" initiate="join" />
      </correlations>
   </receive>
   <invoke name="settleTrade" ...>
      <targets>
         <joinCondition>$buyToSettle and $sellToSettle</joinCondition>
         <target linkName="buyToSettle" />
         <target linkName="sellToSettle" />
      </targets>
   </invoke>
   ...
</flow>

  was:
To achieve this, we need to implement the dependencies between:
1. a receive and its waiting jacob runnable
2. an instance creating receive and the rest of receive runnables that are in 
the same flow

<flow>
   <links>
      <link name="buyToSettle" />
      <link name="sellToSettle" />
   </links>
   <receive name="receiveBuyerInformation" createInstance="yes" ...>
      <sources>
         <source linkName="buyToSettle" />
      </sources>
      <correlations>
         <correlation set="tradeID" initiate="join" />
      </correlations>
   </receive>
   <receive name="receiveSellerInformation" createInstance="yes" ...>
      <sources>
         <source linkName="sellToSettle" />
      </sources>
      <correlations>
         <correlation set="tradeID" initiate="join" />
      </correlations>
   </receive>
   <invoke name="settleTrade" ...>
      <targets>
         <joinCondition>$buyToSettle and $sellToSettle</joinCondition>
         <target linkName="buyToSettle" />
         <target linkName="sellToSettle" />
      </targets>
   </invoke>
   ...
</flow>


> Support the rendezvous case for two receives with createInstance="yes"
> ----------------------------------------------------------------------
>
>                 Key: ODE-434
>                 URL: https://issues.apache.org/jira/browse/ODE-434
>             Project: ODE
>          Issue Type: Improvement
>            Reporter: Sean Ahn
>
> To achieve this, we need to implement the dependencies between:
> an instance creating receive/its waiting jacob runnable, and the rest of 
> receive runnables that are in the same flow
> <flow>
>    <links>
>       <link name="buyToSettle" />
>       <link name="sellToSettle" />
>    </links>
>    <receive name="receiveBuyerInformation" createInstance="yes" ...>
>       <sources>
>          <source linkName="buyToSettle" />
>       </sources>
>       <correlations>
>          <correlation set="tradeID" initiate="join" />
>       </correlations>
>    </receive>
>    <receive name="receiveSellerInformation" createInstance="yes" ...>
>       <sources>
>          <source linkName="sellToSettle" />
>       </sources>
>       <correlations>
>          <correlation set="tradeID" initiate="join" />
>       </correlations>
>    </receive>
>    <invoke name="settleTrade" ...>
>       <targets>
>          <joinCondition>$buyToSettle and $sellToSettle</joinCondition>
>          <target linkName="buyToSettle" />
>          <target linkName="sellToSettle" />
>       </targets>
>    </invoke>
>    ...
> </flow>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to