Configuration Reference
Version:3.8.0-SNAPSHOT
Micronaut Mqtt Core Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Enables Micronaut MQTT integration. Default value true |
Micronaut Mqtt Hivemq Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
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. |
|
|
int |
the MQTT version to use. |
|
|
java.time.Duration |
the connection timeout. |
|
|
boolean |
an optional boolean to set the client in manual acknowledge mode. |
|
|
byte |
the password to use for MQTT connections. |
|
|
java.lang.String |
the username to use for MQTT connections. |
|
|
long |
the maximal delay for reconnecting. |
|
|
int |
the keep alive interval. |
|
|
boolean |
true is automatic reconnect should be performed. |
|
|
java.util.Map |
the custom headers that should be sent with web socket connections. |
|
|
boolean |
true if hostname verification should be used. |
|
|
javax.net.ssl.HostnameVerifier |
the hostname verifier to use for hostname verification. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The topic to publish to |
|
|
byte |
The message payload |
|
|
int |
The message qos |
|
|
boolean |
True if the message should be retained |
Micronaut Mqtt Ssl Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
The certificate authority |
||
|
The certificate |
||
|
The client key |
||
|
char |
The key password |
Micronaut Mqttv3 Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The server URI |
|
|
java.lang.String |
The client id |
|
|
java.lang.Boolean |
An optional boolean to set the client in manual acknowledge mode |
|
|
javax.net.SocketFactory |
||
|
java.util.Properties |
||
|
boolean |
||
|
javax.net.ssl.HostnameVerifier |
| Property | Type | Description | Default value |
|---|---|---|---|
|
char |
||
|
java.lang.String |
||
|
int |
||
|
int |
||
|
int |
||
|
int |
||
|
int |
||
|
boolean |
||
|
java.lang.String |
||
|
boolean |
||
|
int |
||
|
java.util.Properties |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The topic to publish to |
|
|
byte |
The message payload |
|
|
int |
The message qos |
|
|
boolean |
True if the message should be retained |
Micronaut Mqttv5 Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The server URI |
|
|
java.lang.String |
The client id |
|
|
javax.net.SocketFactory |
||
|
java.util.Properties |
||
|
boolean |
||
|
javax.net.ssl.HostnameVerifier |
| Property | Type | Description | Default value |
|---|---|---|---|
|
org.eclipse.paho.mqttv5.common.packet.MqttProperties |
||
|
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 |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The topic to publish to |
|
|
byte |
The message payload |
|
|
int |
The message qos |
|
|
boolean |
True if the message should be retained |
| Property | Type | Description | Default value |
|---|---|---|---|
|
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 |