qw er 15.Jun.10 05:18 AM a Web browser Application development6.2.1Windows XP
Hi,
I implement MqttCallback and after I created an instance of MqttClient and connect the broker successful, but Mqtt session call
connectionLost() all the time, although connection is already exists.
Here is log:
15.06.10 10:56:25:812 CEST] 00002dd6 XMLCommand I Reconnection failed
com.ibm.mqttclient.MqttException: Already connected
at com.ibm.mqttclient.v3.internal.factory.MqttClientImpl.connect(MqttClientImpl.java:408)
at com.ibm.mqttclient.v3.internal.factory.MqttClientImpl.connect(MqttClientImpl.java:388)
at com.ibm.solutions.ElectroMachine.SmartHomeCommand$XMLCommand.connectionLost(SmartHomeCommand.java:182)
at com.ibm.mqttclient.v3.internal.factory.MqttClientImpl.run(MqttClientImpl.java:609)
at java.lang.Thread.run(Thread.java:811)