Class Artemis
java.lang.Object
org.apache.activemq.artemis.cli.Artemis
- All Implemented Interfaces:
Runnable
Artemis is the main CLI entry point for managing/running a broker.
Want to start or debug a broker from an IDE? This is probably the best class to run. Make sure set the -Dartemis.instance=path/to/instance system property. You should also use the 'apache-artemis' module for the class path since that includes all artemis modules.
Notice that this class should not use any logging as it's part of the bootstrap and using logging here could disrupt the order of bootstrapping on certain components (e.g. JMX being started from log4j)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic picocli.CommandLinebuildCommand(boolean includeInstanceCommands, boolean includeHomeCommands, boolean shellEnabled) static Objectexecute(boolean inputEnabled, boolean useSystemOut, boolean shellEnabled, File artemisHome, File artemisInstance, File etcFolder, String... args) static Objectpicocli.CommandLinestatic Stringstatic ObjectinternalExecute(boolean shellEnabled, File artemisHome, File artemisInstance, File etcFolder, String[] args, ActionContext context) static ObjectinternalExecute(String... args) static voidstatic voidprintBanner(PrintStream out) voidrun()setCommandLine(picocli.CommandLine commandLine) static voidverifyManagementDTO(File etc)
-
Constructor Details
-
Artemis
public Artemis()
-
-
Method Details
-
getCommandLine
public picocli.CommandLine getCommandLine() -
setCommandLine
-
run
-
main
-
verifyManagementDTO
-
internalExecute
-
execute
-
execute
-
internalExecute
-
buildCommand
public static picocli.CommandLine buildCommand(boolean includeInstanceCommands, boolean includeHomeCommands, boolean shellEnabled) -
printBanner
- Throws:
Exception
-
getNameFromBanner
-