提交 7bedfc56 编写于 作者: xiaonannet's avatar xiaonannet

Remote

上级 f3721445
......@@ -7,6 +7,8 @@ import org.slf4j.LoggerFactory;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;
import java.util.Map;
/**
* @Description: Broker推送设备消息降级处理
* @Author: ShiHuan SUN
......@@ -28,6 +30,16 @@ public class RemotePublishActorFallbackFactory implements FallbackFactory<Remote
return new RemotePublishActorService() {
/**
* 通知ThingLins MQTT Broker推送消息
*
* @param params
* @return
*/
@Override
public R sendMessage(Map<String, String> params) {
return R.fail("通知ThingLins MQTT Broker推送消息失败:" + throwable.getMessage());
}
};
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册