@@ -12,7 +12,7 @@ public class MqttGetMessage extends Common implements MqttCallback {
@Override
public void connectionLost(Throwable throwable) {
-
+ log.error("MQTT连接已经断开!");
}
@@ -39,6 +39,7 @@ public class Listen_thirdPartyPush_jiaran {
String message = new String(body, "UTF-8");
log.info(message);
+ log.info("收到Rabbit消息{}", message);
MqttServer.getInstance().pushlish(Common.getConfigByName("MQTT.server.Subscribe"), message);
};