Fixed activemq karaf commands.

This commit is contained in:
Claus Ibsen 2013-10-01 22:37:04 +02:00
parent 8089e0d106
commit a503172675

View File

@ -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) {