The Java Broker understands a number of command line options which may be used to override the configuration.
To see usage information for all command line options, use the option --help
bin/qpid-server --help
usage: Qpid [-b address>] [-c <file>] [--exclude-0-10 <port>] [--exclude-0-8 <port>] [--exclude-0-9 <port>] [--exclude-0-9-1
<port>] [--exclude-1-0 <port>] [-h] [--include-0-10 <port>] [--include-0-8 <port>] [--include-0-9 <port>] [--include-0-9-1
<port>] [--include-1-0 <port>] [--jmxconnectorport <port>] [-l <file>] [-m <port>] [-p <port>] [-s <port>] [-v] [-w <period>]
-b,--bind <address> bind to the specified address. Overrides any value in the config file
-c,--config <file> use given configuration file
--exclude-0-10 <port> when listening on the specified port do not accept AMQP0-10 connections. The
specified port must be one specified on the command line
--exclude-0-8 <port> when listening on the specified port do not accept AMQP0-8 connections. The
specified port must be one specified on the command line
--exclude-0-9 <port> when listening on the specified port do not accept AMQP0-9 connections. The
specified port must be one specified on the command line
--exclude-0-9-1 <port> when listening on the specified port do not accept AMQP0-9-1 connections. The
specified port must be one specified on the command line
--exclude-1-0 <port> when listening on the specified port do not accept AMQP1-0 connections. The
specified port must be one specified on the command line
-h,--help print this message
--include-0-10 <port> accept AMQP0-10 connections on this port, overriding configuration to the contrary.
The specified port must be one specified on the command line
--include-0-8 <port> accept AMQP0-8 connections on this port, overriding configuration to the contrary.
The specified port must be one specified on the command line
--include-0-9 <port> accept AMQP0-9 connections on this port, overriding configuration to the contrary.
The specified port must be one specified on the command line
--include-0-9-1 <port> accept AMQP0-9-1 connections on this port, overriding configuration to the contrary.
The specified port must be one specified on the command line
--include-1-0 <port> accept AMQP1-0 connections on this port, overriding configuration to the contrary.
The specified port must be one specified on the command line
--jmxconnectorport <port> listen on the specified management (connector server) port. Overrides any
value in the config file
-l,--logconfig <file> use the specified log4j xml configuration file. By default looks for a file named
etc/log4j.xml in the same directory as the configuration file
-m,--jmxregistryport <port> listen on the specified management (registry server) port. Overrides any
value in the config file
-p,--port <port> listen on the specified port. Overrides any value in the config file
-s,--sslport <port> SSL port. Overrides any value in the config file
-v,--version print the version information and exit
-w,--logwatch <period> monitor the log file configuration file for changes. Units are seconds. Zero means
do not check for changes.