diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/util/ActiveMQUtil.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/util/ActiveMQUtil.java index 08168f7a..762efce9 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/util/ActiveMQUtil.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/util/ActiveMQUtil.java @@ -1,6 +1,5 @@ package com.foreverwin.mesnac.anomaly.util; -import com.foreverwin.modular.core.exception.BaseException; import org.apache.activemq.ActiveMQConnectionFactory; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Value; @@ -42,7 +41,7 @@ public class ActiveMQUtil { TextMessage textMessage = session.createTextMessage(sendMessage); producer.send(textMessage); }catch (Exception e){ - throw new BaseException("发送消息失败"+e.getMessage()); + // throw new BaseException("发送消息失败"+e.getMessage()); }finally { try { if (producer != null) {