Configuration Reference
Version:3.4.1
Micronaut Mqtt Core Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Enables Micronaut MQTT integration. Default value true |
Micronaut Mqtt Hivemq Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Set true if a new sessions should be started for connection (v5 only). |
|
java.lang.Long |
The session expiry interval in seconds (v5 only). |
|
java.lang.Integer |
The maximum amount of not acknowledged publishes with QoS 1 or 2 the client accepts from the server concurrently (v5 only). |
|
java.lang.Integer |
The maximum packet size the client sends to the server (v5 only). |
|
java.lang.Integer |
The maximum amount of topic aliases the client accepts from the server (v5 only). |
|
boolean |
Whether the client requests response information from the server (v5 only). |
|
boolean |
Whether the client requests problem information from the server (v5 only). |
|
java.util.Map |
The user defined properties that should be sent for every message (v5 only). |
|
boolean |
Set true if a new session should be started for connection (v3 only). |
|
java.net.URI |
The URI of server to connect to as [schema]://[serverHost]:[serverPort]. |
|
java.lang.String |
The client identifier to use. |
|
int |
The version of the MQTT protocol to use (one of 3 or 5). |
|
java.time.Duration |
How long to wait for a connection to be established. |
|
boolean |
True if you wish to manually acknowledge messages. |
|
byte |
The password to use for MQTT connections. |
|
java.lang.String |
The username to use for MQTT connections. |
|
long |
The maximum delay for reconnecting in seconds. |
|
int |
The keep alive interval in seconds. |
|
boolean |
True if the client should attempt to reconnect to the server if the connection is lost. |
|
java.util.Map |
Custom headers that should be sent with web socket connections. |
|
boolean |
True if hostname verification should be used for https connections. |
|
javax.net.ssl.HostnameVerifier |
The hostname verifier to use for hostname verification. |
Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
byte |
|
|
int |
|
|
boolean |
Micronaut Mqtt Ssl Config Properties
🔗Property | Type | Description |
---|---|---|
|
||
|
||
|
||
|
char |
Micronaut Mqttv3 Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
byte |
|
|
int |
|
|
boolean |
Property | Type | Description |
---|---|---|
|
char |
|
|
java.lang.String |
|
|
int |
|
|
int |
|
|
int |
|
|
int |
|
|
int |
|
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
int |
|
|
java.util.Properties |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.Boolean |
|
|
javax.net.SocketFactory |
|
|
java.util.Properties |
|
|
boolean |
|
|
javax.net.ssl.HostnameVerifier |
Micronaut Mqttv5 Config Properties
🔗Property | Type | Description |
---|---|---|
|
org.eclipse.paho.mqttv5.common.packet.MqttProperties |
|
|
java.lang.String |
|
|
byte |
|
|
int |
|
|
boolean |
|
|
java.lang.Byte |
|
|
java.lang.Boolean |
|
|
java.lang.Boolean |
|
|
java.lang.Long |
|
|
java.lang.Integer |
|
|
java.lang.Integer |
|
|
java.lang.Long |
|
|
boolean |
|
|
java.lang.String |
|
|
java.lang.Integer |
|
|
java.lang.Integer |
|
|
java.lang.Integer |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
java.lang.Long |
|
|
java.lang.String |
|
|
byte |
|
|
java.lang.String |
|
|
java.util.List |
|
|
boolean |
|
|
java.lang.Long |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
byte |
|
|
java.util.List |
|
|
java.lang.Integer |
Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
byte |
|
|
boolean |
|
|
int |
|
|
int |
|
|
int |
|
|
java.lang.String |
|
|
boolean |
|
|
java.lang.Long |
|
|
java.lang.Integer |
|
|
java.lang.Long |
|
|
java.lang.Integer |
|
|
boolean |
|
|
boolean |
|
|
java.util.List |
|
|
java.lang.String |
|
|
byte |
|
|
boolean |
|
|
java.util.Map |
|
|
boolean |
|
|
int |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
javax.net.SocketFactory |
|
|
java.util.Properties |
|
|
boolean |
|
|
javax.net.ssl.HostnameVerifier |