|
@@ -1,20 +1,17 @@
|
|
|
package com.persagy.apm.alarmservice.common.configuration.rabbitmq;
|
|
|
|
|
|
-import com.persagy.apm.alarmservice.common.model.DmpMessage;
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.amqp.rabbit.core.RabbitTemplate;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
-import org.springframework.cloud.function.json.JacksonMapper;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+import com.persagy.apm.alarmservice.common.model.DmpMessage;
|
|
|
+
|
|
|
/**
|
|
|
* rabbitmq消息发送者
|
|
|
*
|
|
|
* @author lixing
|
|
|
* @version V1.0 2021/10/11 8:20 下午
|
|
|
**/
|
|
|
-@Slf4j
|
|
|
@Component
|
|
|
public class RabbitMsgSender {
|
|
|
/**
|