Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / RabbitMQProperty.java
@新烽开发者 新烽开发者 on 19 Jul 761 bytes init
package com.newfiber.api.pc.model.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName RabbitMQProperty
 * @Description TODO
 * @Author 张鸿志
 * @Date sj2 8:52
 * Version 1.0
 **/
@ConfigurationProperties(prefix = "rabbit")
@Component
@Data
public class RabbitMQProperty {
    /** 交换机名 */
    private String exchange;
    /** 发送到微信的队列名 */
    private String toWxQueue;

    /** 降雨量报警队列 */
    private String rainFallAlarmQueue;

    private String applyQueue;

    /**普通短信队列**/
    private String messageDSMSQueue;

    /**模板短信队列**/
    private String messageTSMSQueue;

}