Skip to content

Commit c0f749f

Browse files
committed
feat: 添加 rabbit 常量
1 parent f3532ad commit c0f749f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

  • common/plugin/mq/src/main/java/com/github/cadecode/uniboot/common/plugin/mq/consts

common/plugin/mq/src/main/java/com/github/cadecode/uniboot/common/plugin/mq/consts/RabbitConst.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,26 @@
88
*/
99
public interface RabbitConst {
1010

11+
// 交换机类型
12+
13+
String EXC_TYPE_TOPIC = "topic";
14+
15+
String EXC_TYPE_DIRECT = "direct";
16+
17+
String EXC_TYPE_FANOUT = "fanout";
18+
1119
/**
1220
* delay 交换机类型
1321
*/
1422
String EXC_TYPE_DELAYED = "x-delayed-message";
1523

24+
// 交换机类型 --- end
25+
26+
// 交换机名称
27+
/**
28+
* 默认交换机
29+
*/
30+
String EXC_DEFAULT = "";
31+
32+
// 交换机名称 --- end
1633
}

0 commit comments

Comments
 (0)