此内容没有您所选择的语言版本。

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.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部