Name
activemq console — starts a foreground broker on Unix, and Unix-like, platforms
Synopsis
activemq console
[-Dname
=value
...] [--version] [[--help] | [-h] | [-?]] {[xbean:file:confURI
] | [broker:brokerURI
] | [properties:propURI
]}
Arguments
Argument | Description |
---|---|
-Dname =value | Specifies a system property to be interpreted by the VM. |
--version | Displays the version of the tool. |
--help, -?, -h | Displays the help for the command. |
xbean:file:confURI | Specifies the path of the broker configuration file to use. |
broker:brokerURI | Specifies the broker URI to use. |
properties:propURI | Specifies the path to a properties file to configure the broker. |
Examples
The following command starts a broker with the default configuration using an XBean URI:
%
activemq console xbean:activemq.xml
The following command starts a broker using a broker URI:
%
activemq console broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&useJmx=true