mirror of https://github.com/apache/activemq.git
apply patch for: https://issues.apache.org/jira/browse/AMQ-3554
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387857 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
620d26d494
commit
e11f786b93
|
@ -26,8 +26,9 @@ import java.util.HashMap;
|
|||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
|
||||
import org.apache.felix.gogo.commands.Option;
|
||||
import org.apache.felix.gogo.commands.Argument;
|
||||
import org.apache.felix.gogo.commands.Command;
|
||||
import org.apache.felix.gogo.commands.Option;
|
||||
import org.apache.karaf.shell.console.OsgiCommandSupport;
|
||||
|
||||
/**
|
||||
|
@ -36,7 +37,7 @@ import org.apache.karaf.shell.console.OsgiCommandSupport;
|
|||
@Command(scope="activemq", name="create-broker", description="Creates a broker instance.")
|
||||
public class CreateBrokerCommand extends OsgiCommandSupport {
|
||||
|
||||
@Option(name = "-n", aliases = {"--name"}, description = "The name of the broker (defaults to localhost).")
|
||||
@Argument(name = "name", description = "The name of the broker (defaults to localhost).")
|
||||
private String name = "localhost";
|
||||
@Option(name = "-t", aliases = {"--type"}, description = "type of configuration to be used: spring or blueprint (defaults to spring)")
|
||||
private String type = "spring";
|
||||
|
|
Loading…
Reference in New Issue