gongchunyi
昨天 a1fde96b1f1bf7e8a337a3550e41418e88e7bc97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.ruoyi.device.mqtt;
 
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
 
@Component
public class MQBean {
 
//    @Bean("mqClient") // 启动WEB服务器的时候调用此方法初始化
//    public MQClient myMQTTClient(){
//        MQClient mqClient = new MQClient();
//        return mqClient;
//    }
}