此内容没有您所选择的语言版本。
Appendix C. Server Options
Server options table
Table C.1, “ActiveMQ TransportConnector Server Options” shows the options to change the behavior of TransportConnector in ActiveMQ broker configuration on the server.
Option | Default | Description |
---|---|---|
uri | null | Specifies the bind address for the transport connector. |
name | null | Specifies the name of the transport connector instance. |
discoveryURI | null | Specifies the multicast discovery address for client connection to find the broker. |
enableStatusMonitor | false | Monitors the state of the connections and determines whether the connections are blocked. |
updateClusterClients | false | Updates the client connections about the changes in the broker status. |
rebalanceClusterClients | false | Rebalances clients automatically across the cluster on changes to the topology. |
updateClusterClientsOnRemove | false | Updates clients if a broker is removed from the cluster. |
updateClusterFilter | null | A comma separated list of regular expressions that specifies the list of brokers included for client updates. |
allowLinkStealing | false | Specifies that if the last two or more connections have the same id, for example clientID for JMS then the last connection is deemed as a valid connection and the older connections are closed by the broker. This property is enable for default for MQTT transport. |
Example C.1, “Server Options Configuration” shows the configuration of
enableStatusMonitor
server option.
Example C.1. Server Options Configuration
<broker > ... <transportConnectors > <transportConnector name="openwire" uri="tcp://0.0.0.0:61616" enableStatusMonitor="true" > <transportConnectors > ... <broker >