mirror of https://github.com/apache/activemq.git
[AMQ-4931] Use auto-export="interfaces" in the Karaf commands service definition
This commit is contained in:
parent
2bbfbcfb29
commit
6258ce1761
|
@ -27,11 +27,7 @@
|
||||||
<property name="actionId" value="listaction"/>
|
<property name="actionId" value="listaction"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<service ref="listcommand" activation="lazy">
|
<service ref="listcommand" auto-export="interfaces" activation="lazy">
|
||||||
<interfaces>
|
|
||||||
<value>org.apache.felix.service.command.Function</value>
|
|
||||||
<value>org.apache.karaf.shell.console.CompletableFunction</value>
|
|
||||||
</interfaces>
|
|
||||||
<service-properties>
|
<service-properties>
|
||||||
<entry key="osgi.command.scope" value="activemq"/>
|
<entry key="osgi.command.scope" value="activemq"/>
|
||||||
<entry key="osgi.command.function" value="list"/>
|
<entry key="osgi.command.function" value="list"/>
|
||||||
|
@ -53,11 +49,7 @@
|
||||||
<property name="actionId" value="queryaction"/>
|
<property name="actionId" value="queryaction"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<service ref="querycommand" activation="lazy">
|
<service ref="querycommand" auto-export="interfaces" activation="lazy">
|
||||||
<interfaces>
|
|
||||||
<value>org.apache.felix.service.command.Function</value>
|
|
||||||
<value>org.apache.karaf.shell.console.CompletableFunction</value>
|
|
||||||
</interfaces>
|
|
||||||
<service-properties>
|
<service-properties>
|
||||||
<entry key="osgi.command.scope" value="activemq"/>
|
<entry key="osgi.command.scope" value="activemq"/>
|
||||||
<entry key="osgi.command.function" value="query"/>
|
<entry key="osgi.command.function" value="query"/>
|
||||||
|
@ -79,11 +71,7 @@
|
||||||
<property name="actionId" value="browseaction"/>
|
<property name="actionId" value="browseaction"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<service ref="browsecommand" activation="lazy">
|
<service ref="browsecommand" auto-export="interfaces" activation="lazy">
|
||||||
<interfaces>
|
|
||||||
<value>org.apache.felix.service.command.Function</value>
|
|
||||||
<value>org.apache.karaf.shell.console.CompletableFunction</value>
|
|
||||||
</interfaces>
|
|
||||||
<service-properties>
|
<service-properties>
|
||||||
<entry key="osgi.command.scope" value="activemq"/>
|
<entry key="osgi.command.scope" value="activemq"/>
|
||||||
<entry key="osgi.command.function" value="browse"/>
|
<entry key="osgi.command.function" value="browse"/>
|
||||||
|
@ -105,11 +93,7 @@
|
||||||
<property name="actionId" value="bstataction"/>
|
<property name="actionId" value="bstataction"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<service ref="bstatcommand" activation="lazy">
|
<service ref="bstatcommand" auto-export="interfaces" activation="lazy">
|
||||||
<interfaces>
|
|
||||||
<value>org.apache.felix.service.command.Function</value>
|
|
||||||
<value>org.apache.karaf.shell.console.CompletableFunction</value>
|
|
||||||
</interfaces>
|
|
||||||
<service-properties>
|
<service-properties>
|
||||||
<entry key="osgi.command.scope" value="activemq"/>
|
<entry key="osgi.command.scope" value="activemq"/>
|
||||||
<entry key="osgi.command.function" value="bstat"/>
|
<entry key="osgi.command.function" value="bstat"/>
|
||||||
|
@ -131,11 +115,7 @@
|
||||||
<property name="actionId" value="purgeaction"/>
|
<property name="actionId" value="purgeaction"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<service ref="purgecommand" activation="lazy">
|
<service ref="purgecommand" auto-export="interfaces" activation="lazy">
|
||||||
<interfaces>
|
|
||||||
<value>org.apache.felix.service.command.Function</value>
|
|
||||||
<value>org.apache.karaf.shell.console.CompletableFunction</value>
|
|
||||||
</interfaces>
|
|
||||||
<service-properties>
|
<service-properties>
|
||||||
<entry key="osgi.command.scope" value="activemq"/>
|
<entry key="osgi.command.scope" value="activemq"/>
|
||||||
<entry key="osgi.command.function" value="purge"/>
|
<entry key="osgi.command.function" value="purge"/>
|
||||||
|
@ -157,11 +137,7 @@
|
||||||
<property name="actionId" value="dstataction"/>
|
<property name="actionId" value="dstataction"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<service ref="dstatcommand" activation="lazy">
|
<service ref="dstatcommand" auto-export="interfaces" activation="lazy">
|
||||||
<interfaces>
|
|
||||||
<value>org.apache.felix.service.command.Function</value>
|
|
||||||
<value>org.apache.karaf.shell.console.CompletableFunction</value>
|
|
||||||
</interfaces>
|
|
||||||
<service-properties>
|
<service-properties>
|
||||||
<entry key="osgi.command.scope" value="activemq"/>
|
<entry key="osgi.command.scope" value="activemq"/>
|
||||||
<entry key="osgi.command.function" value="dstat"/>
|
<entry key="osgi.command.function" value="dstat"/>
|
||||||
|
|
Loading…
Reference in New Issue