- <init>
Create a new configuration.
- fromProperties
Create a new configuration from Properties. There is a property corresponding to
each MqttConfig.set
- getActionTimeToWaitMillis
Get the maximum time to wait for an action (e.g., publish message) to complete.
- getClientId
Get the connection Client Id.
- getIdleTimeout
Get the idle connection timeout.
- getPersistence
Get the QoS 1 and 2 in-flight message persistence handler.
- getSubscriberIdleReconnectInterval
Get the subscriber idle reconnect interval.
- setActionTimeToWaitMillis
Maximum time to wait for an action (e.g., publish message) to complete.
Optional. default: -1 no ti
- setCleanSession
Clean Session. Qptional. default: true.
- setClientId
Connection Client Id. Optional. default null: a clientId is auto-generated.
- setConnectionTimeout
Connection timeout. Optional. 0 disables the timeout / blocks until connected.
default: 30 seconds.
- setIdleTimeout
Idle connection timeout. Optional. 0 disables idle connection disconnect.
default: 0 seconds (disabl