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

Messaging should not expose its subsystem module to deployments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 24.0.0.Beta1, 24.0.0.Final
    • 20.0.0.Final
    • JMS
    • None

    Description

      The messaging-activemq subsystem exposes its subsystem module to the deployment classloader.  According to comments, this was done to allow CDI to load the requisite portable extension to support JMSContext injection.  This is a very bad idea, as the deployment can then access all of the subsystem internals (including its dependents).

      The correct way to do this is to create a separate module containing userspace classes, including the CDI extension and its dependents.  Only this module should ever be exposed to deployments.

      Attachments

        Activity

          People

            ehugonne1@redhat.com Emmanuel Hugonnet
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: