Version Property

The MQTT protocol version that the class will conform to.


public int getVersion();
public void setVersion(int version);

Enumerated values: public final static int mvV3 = 0; public final static int mvV5 = 1;

Default Value



This property specifies the version of the MQTT protocol to use. Possible values are:

0 (mvV3 - default) MQTT 3.1.1
1 (mvV5) MQTT 5

This property must be set before connecting.

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Java Edition - Version 20.0 [Build 8162]