Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4931

Karaf commands should auto-export interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.9.1, 5.10.0
    • OSGi/Karaf
    • None

    Description

      Currently, the ActiveMQ Karaf commands use the OSGi service declaration with explicitly defining the interfaces set. For instance:

      <interfaces>
      <value>org.apache.felix.service.command.Function</value>
      <value>org.apache.karaf.shell.console.CompletableFunction</value>
      </interfaces>

      This prevent some Karaf feature like the new commands RBAC mechanism.

      The service definition should use auto-export="interfaces".

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: