package com.macro.mall.portal.domain;

import lombok.Getter;

/**
 * 消息队列枚举类
 * Created by macro on 2018/9/14.
 */
@Getter
public enum QueueEnum {
    /**
     * 消息通知队列
     */
    QUEUE_ORDER_CANCEL("mall.order.direct", "mall.order.cancel", "mall.order.cancel"),
    /**
     * 消息通知ttl队列
     */
    QUEUE_TTL_ORDER_CANCEL("mall.order.direct.ttl", "mall.order.cancel.ttl", "mall.order.cancel.ttl");

    /**
     * 交换名称
     */
    private String exchange;
    /**
     * 队列名称
     */
    private String name;
    /**
     * 路由键
     */
    private String routeKey;

    QueueEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }
}

@@ -430,24 +430,30 @@
     private 
+final 
 String excha
@@ -453,24 +453,24 @@
 g exchange;%0A
-
     /**%0A    
@@ -493,24 +493,30 @@
     private 
+final 
 String name;
@@ -535,32 +535,32 @@
   * %E8%B7%AF%E7%94%B1%E9%94%AE%0A     */%0A
-
     private Stri
@@ -555,16 +555,22 @@
 private 
+final 
 String r

Update QueueEnum.java