...
Code Block |
|
<transportConnectors>
<transportConnector name="mqtt" uri="mqtt://localhost:1883"/>
</transportConnectors>
|
The MQTT Wire Format
MQTT uses a compact binary format that can be configured with the following options. All options can be configured on a Brokers transport bind URI.
Parameter Name |
Default Value |
Description |
maxFrameSize |
MAX_LONG |
(v5.12.0) Maximum frame size that can be sent. The protocol limit is 256 megabytes and his value cannot be set higher. Can help help prevent OOM DOS attacks |
All options must be prepended with wireFormat
in order to take effect. Without this proper formatting, the option will have zero effect.
Example Wire Format Configuration
Code Block |
|
<transportConnector name="mqtt" uri="mqtt://localhost:61612?wireFormat.maxFrameSize=100000"/>
|
Security
The ActiveMQ MQTT Transport implementation fully supports an ActiveMQ security mechanism. Also, the authorization policies will be applied when you try to access (read/write) certain destinations.
...