/**
 * Copyright (C), 2022-04-13
 * FileName: RocketController
 * Author:   wanglongda
 * Date:     2022/4/13 16:10
 * Description: rocket
 */
package me.zhengjie.modules.thirdparty.v1.rocket;/**
 * Created Name: wanglongda
 * Created Time: 2022/4/13 16:10
 * Description: iot-ykt
 */

import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <功能简要> <br>
 * <rocket>
 *
 * @Author wanglongda
 * @createTime 2022/4/13 16:10
 * @Version 1.0.0
 */
@Slf4j
@RestController
@RequiredArgsConstructor
@Api(tags = "MQ接口")
@RequestMapping("/MQTest")
public class RocketController {
    private final String topic = "accessTrafficTopic";
//    @Resource
//    private Producer producer;
//
//    @AnonymousGetMapping("/sendMessage")
//    public String sendMessage(String message) {
//        producer.sendMessage(topic, message);
//        return "消息发送完成";
//    }
}
