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

Module dependency on org.jboss.as.xts from org.jboss.xts should be optional.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 15.0.0.Beta1, 15.0.0.Final
    • None
    • XTS
    • None

    Description

      The org.jboss.xts module depends on org.jboss.as.xts. It does so to allow the WildflyTransactionClientTxBridgeIntegrationHandler class to be found after the XTS subsystem's XTSHandlerDeploymentProcessor wires its name into the deployment.

      But if there is no xts subsystem, then there's no XTSHandlerDeploymentProcessor and thus there's no wiring of the class name nor any need to load the class.

      So, this dependency is optional and should be marked as such.

      The reason this is important is that we currently have this dependency chain:

      org.jboss.as.transactions/org.jboss.narayana.compensations/org.jboss.xts/org.jboss.as.xts/org.jboss.as.webservices.server.integration

      And org.jboss.as.transactions is used from quite a lot of places. And that means this org.jboss.xts dependency brings the whole WS stack into a lot of places. Making this link optional will allow Galleon to optimize that away.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: