Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5005

Java Broker Plugin API has changed to need overridden getType() method in instances of PluginFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.24
    • Java Tools
    • None

    Description

      The Java Broker Plugin API has changed to need overridden getType() method in instances of PluginFactory.

      This change caused the QMF2 plugin for the Java broker in /qpid/tools/src/java to break. The following patch fixes it.

      — qpid/tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementFactory.java (revision 1504825)
      +++ qpid/tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementFactory.java (working copy)
      @@ -76,4 +76,10 @@
      return null;
      }
      }
      +
      + @Override
      + public String getType()
      +

      { + return "QMF2 Management"; + }

      }

      I'll commit the fix to trunk, but I'm guessing that the Java broker changes that caused this to happen might mean that it's broken on the 0.24 release branch too.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fadams Fraser Adams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: