package com.buy507.mall.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 分销结算消息队列配置
 */
@Configuration
public class RabbitMqDistributeConfig {

    /**
     * 分销结算实际消费队列
     */
    @Bean
    public Queue predistributeQueue() {
        return new Queue("mall.distribute.compute");
    }

}
