Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1066

Integrate bpm-service transaction demarcasion behavior with TransactionPolicy handling

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: component-bpm
    • Labels:
      None

      Description

      Currently DroolsBPMExchangeHandler explicitly begin its own JTA transaction when persistence is needed, but it would be good if we integrate it with Transaction Policy handling by SwitchYard runtime.

      Let's say, If the implementation.bpm is marked as managedTransaction.Global or managedTransaction.Local, then bpm-service will run under managed transaction which is handled by TransactionHandler.
      Otherwise(noManagedTransaction or no Implementation Transaction Policy), bpm service should manage its transaction by itself.

      One thing I should make sure is, are we able to achieve Local Transaction on bpm-service? i.e. suspend the transaction before invoke other SwitchYard service from bpm process, since Local Transaction must not be propagated through the reference if managedTransaction.Local is required.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igarashitm tomohisa igarashi
                  Reporter:
                  igarashitm tomohisa igarashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: