Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2145

Automatically add XTS and TXBridge handlers to Web Services that use JTA annotations

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.0.0.CR1
    • Component/s: XTS
    • Labels:
      None

      Description

      Currently the developer needs to specify the XTS and Bridge handlers on the Web Service that wishes inflow a WS-AT transaction. This is cumbersome and error prone.

      It is quite easy to infer if the user needs these handlers by checking to see if the Web Service uses @Transactional or @TransactionAtttibute and by looking for a WS-AT transaction context on the inbound message.

      The same can also be done for the Compensations API, by looking for @Compensatable annotations on the Web Service. In which case, only the XTS handler should be added as no bridging is required.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: