The MicroBroker agent configures the broker service provided by MicroBroker messaging framework.
For the properties below, you can enter either strings or variables. If you enter a variable, the value is substituted from the database when the XML configuration file is generated. Refer to Using variables for property values for details on what variables can be substituted.
Property | Description |
---|---|
dir | Root directory for the MicroBroker files. |
edge.id | The Data Capture and Delivery device ID associated with this agent |
edge.name | The Data Capture and Delivery device name associated with this agent |
forceCleanBroker | Force clean broker reinitialization on the configuation reload |
log.level | The level of logging to use with this agent. If the value is empty then the system log level will be used. The Alert agent must be running in order to set this property. |
maxMessageSize | The maximum size of the MicroBroker message |
maxNumberOfClients | The maximum number of client instances allowed for the MicroBroker |
name | The unique name for the configuration object |
persistence | Messaging persistence in case of shutdown. Values can be 0, 1, or 2. |
port | The port on which the MQTT Server is listening. This property is not needed if local is set to true. |
queueSize | The size of internal MicroBroker messaging queue |
source.id | The source ID for generic events in this agent |
trace.level | Internal MicroBroker trace level byte value. Possible values for this property are min, 1, 2, 3, 4, 5, or max. |
tracing | Displays trace output. The Alert agent must be running in order to set this property. |
waitTimeout | Wait timeout in milliseconds |