24 lines
794 B
Plaintext
24 lines
794 B
Plaintext
package com.securityControl.task.mqconf;
|
||
//
|
||
//import com.alibaba.fastjson.JSONObject;
|
||
//import lombok.extern.slf4j.Slf4j;
|
||
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
|
||
//import org.apache.rocketmq.spring.core.RocketMQListener;
|
||
//import org.springframework.stereotype.Component;
|
||
///**
|
||
// * 设备状态变更mq通知
|
||
// */
|
||
//@Slf4j
|
||
//@Component
|
||
//@RocketMQMessageListener(topic = "UVPDEVICE_DEVICEINFO_CHANGED",consumerGroup = "DefaultConsumer")
|
||
//public class DevMqConsumer implements RocketMQListener<String> {
|
||
//
|
||
// //设备信息变更MQ通知,此类为MQ消费者
|
||
// @Override
|
||
// public void onMessage(String message) {
|
||
// JSONObject result=JSONObject.parseObject(message);
|
||
// log.info(result.toJSONString());
|
||
// //TODO
|
||
// }
|
||
//}
|