mirror of https://github.com/apache/activemq.git
Fixed activemq karaf commands.
This commit is contained in:
parent
8089e0d106
commit
a503172675
|
@ -41,7 +41,8 @@ public class ActiveMQCommandSupport extends OsgiCommandSupport {
|
|||
|
||||
try {
|
||||
currentCommand.setCommandContext(context2);
|
||||
arguments.add("--jmxlocal");
|
||||
// must be added first
|
||||
arguments.add(0, "--jmxlocal");
|
||||
currentCommand.execute(arguments);
|
||||
return null;
|
||||
} catch (Throwable e) {
|
||||
|
|
Loading…
Reference in New Issue