Table B.1 describes the broker properties you can set as options on a broker URI or in a broker properties file.
Table B.1. Broker URI Properties
Property | Default | Description |
---|---|---|
useJmx | true | Specifies if the broker will connect to a JMX server. |
persistent | true | Specifies whether the broker uses persistent storage |
populateJMSXUserID | false | Specifies whether the broker populates the JMSXUserID property of messages to indicate the authenticated sender username of the person who sent the message |
useShutdownHook | true | Specifies if the broker installs a shutdown hook so that it can properly shut itself down on a JVM kill. |
brokerName | localhost | Specifies the name of the broker |
deleteAllMessagesOnStartup | false | Specifies if all the messages in the persistent store will be deleted on broker startup. |
enableStatistics | true | Specifies if statistics gathering is enabled. |
Table B.2 describes additional properties that you can set in a broker properties file.
Table B.2. Property File Properties
Property | Default | Description |
---|---|---|
transportConnectors | tcp:\\localhost:61616 | Specifies 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. |