Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-599

Enable concurrent execution of Invoke in in-memory processes

    XMLWordPrintableJSON

Details

    Description

      In ODE 2.0 (beta2), Invoke activities in Flow activities are not executed concurrent, but in random order.

      See thread in dev list at http://mail-archives.apache.org/mod_mbox/ode-dev/200904.mbox/%3c653C8E101491144F9B644FFA6652F5E5010AC88F@gtlbmlexs0006.bagmail.net%3e for details.

      The attached patch adds an <async-invoke> option to the deploy.xml schema. Default is false in order to keep current behaviour for backward compatibility. If set to true, the engine will treat Invoke activities in transient processes asynchronously exactly as in persistent processes, to that they in Flow activities they are called concurrently.

      I've created the patch in the current trunk source code, your junit test cases seem to be OK. To test the functionality, I've also applied it to the ODE 2.0-beta2 source and used it in the integration of ODE in SMILA, where it worked as described.

      If you want something to be changed, just tell me.

      Attachments

        1. async-invoke.patch
          5 kB
          Jürgen Schumacher

        Activity

          People

            Unassigned Unassigned
            waeller Jürgen Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: