Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-988

Support multiple @ServiceRequest calls per transaction, creating a single participant per RM

    XMLWordPrintable

    Details

      Description

      For example, with WS-BA:

      @ServiceRequest
      pubic void addToBasket(...)
      {
        ...
      {
      
      @Completes
      public void checkout()
      (
        ...
      }
      
      @Compensate
      public void removeFromBasket(...)
      {
        ...
      }
      

      Here addToBasket() can be called multiple times within the same transaction. The default behaviour should be to enlist a single participant, rather than one per Service-invocation.

      If the transaction is compensated, 'removeFromBasket' is invoked once. A single participant is registered, per transaction, even if many calls to a method annotated with @ServiceRequest occur.

      Similar functionality should be provided for WS-AT services.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                paul.robinson Paul Robinson
                Reporter:
                paul.robinson Paul Robinson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: