package com.ruoyi.monitorInterface.mq;//package com.ruoyi.monitorInterface.mq;
//
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.springframework.stereotype.Component;
//
///**
// * 泛型可选
// */
//@Component
//@RocketMQMessageListener(consumerGroup = "group1", topic = "topic1")
//public class RocketMQConsumer implements RocketMQListener<String> {
//
//    @Override
//    public void onMessage(String message) {
//        System.out.println("Received message : " + message);
//    }
//}
