Jean-Baptiste Onofré created AMQ-4931:
-----------------------------------------

             Summary: Karaf commands should auto-export interfaces
                 Key: AMQ-4931
                 URL: https://issues.apache.org/jira/browse/AMQ-4931
             Project: ActiveMQ
          Issue Type: Improvement
          Components: OSGi/Karaf
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 5.10.0


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".



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to