Red Hat DocumentationToggle FramesPrintFeedback

Broker Properties

Global properties

Table 4 describes the broker properties you can set as options on a broker URI or in a broker properties file.

Table 4. Broker URI Properties

PropertyDefaultDescription
useJmxtrueSpecifies if the broker will connect to a JMX server.
persistenttrueSpecifies whether the broker uses persistent storage
populateJMSXUserIDfalseSpecifies whether the broker populates the JMSXUserID property of messages to indicate the authenticated sender username of the person who sent the message
useShutdownHooktrueSpecifies if the broker installs a shutdown hook so that it can properly shut itself down on a JVM kill.
brokerNamelocalhostSpecifies the name of the broker
deleteAllMessagesOnStartupfalseSpecifies if all the messages in the persistent store will be deleted on broker startup.
enableStatisticstrueSpecifies if statistics gathering is enabled.

Property file specific

Table 5 describes additional properties that you can set in a broker properties file.

Table 5. Property File Properties

PropertyDefaultDescription
transportConnectorstcp:\\localhost:61616Specifies a comma separated list of transport URIs on which the broker will listen for client connections. See Broker Client Connectivity Guide for more information.
networkConnectors Specifies a comma separated list of URIs on which the broker will listen for connections with other brokers. See Broker Networks in Clustering Guide for more information.

Comments powered by Disqus