Browse Source

增加调试信息

master
林万龙 3 years ago
parent
commit
3b7df94847
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main/java/com/telpo/iotgateway/listener/IotMessageListener.java

+ 1
- 0
src/main/java/com/telpo/iotgateway/listener/IotMessageListener.java View File

@@ -37,6 +37,7 @@ public class IotMessageListener implements MessageListener {
// 如果业务处理耗时过程过长阻塞住线程,可能会影响SDK收到消息后的正常回调。 // 如果业务处理耗时过程过长阻塞住线程,可能会影响SDK收到消息后的正常回调。
executorService.submit(() -> processMessage(message)); executorService.submit(() -> processMessage(message));
count++; count++;
log.info("count is : " + count);
} catch (Exception e) { } catch (Exception e) {
log.error("submit task occurs exception ", e); log.error("submit task occurs exception ", e);
} }


Loading…
Cancel
Save