3.3.2. General Broker options

The broker has a number of general command-line options. There are additional High Availability options that are described in Section 9.1.6, “Broker HA Options”.

List of General Broker Command-line Options

-h
Displays the help message.
--interface <ipaddr>
Listen on the specified network interface. Can be used multiple times for multiple network interfaces. This option supports IPv4 and IPv6 addresses. You can use an explicit address, or the name of a network adapter (for example eth0 or em1). If you specify a network adapter name the broker will bind to all addresses bound to that adapter.
--link-heartbeat-interval <seconds>
The number of seconds to wait for a federated link heart beat. By default this is 120 seconds.
--link-maintenance-interval <seconds>
The number of seconds to wait for backup brokers to verify the link to the primary, and reconnect if required. This value defaults to 2.
-p <Port_Number>
Instructs the broker to use the specified port. Defaults to port 5672. It is possible to run multiple brokers simultaneously by using different port numbers.
--paging-dir <directory>
Directory to use for disk-paged queues.
--socket-fd <fd>
Use an existing socket specified by its file descriptor. Can be used multiple times for multiple sockets. This is useful when the broker is started by a parent process, for example during testing.
-t
This option enables verbose log messages, for debugging only.
--tcp-nodelay on|off
Disable ack on TCP. This increases throughput, especially in synchronous operations. This is set to on by default. You can set this in the configuration file using QPID_TCP_NODELAY=on|off
-v
Displays the installed version.