/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.mqcore.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 消息队列模块属性配置
 *
 * @author lingee
 * @date 2023/8/22
 */
@Data
@Configuration
@ConfigurationProperties("cvbp.mq")
public class MQProperties {

    /**
     * 是否开启
     */
    private Boolean enabled = false;

    /**
     * 消息队列中间件类型：redis/rabbitmq/rocketmq
     */
    private String type = "redis";
}
