init
This commit is contained in:
15
src/main/java/com/newyetai/mq/constant/ExchangeTypeEnum.java
Normal file
15
src/main/java/com/newyetai/mq/constant/ExchangeTypeEnum.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.newyetai.mq.constant;
|
||||
|
||||
/**
|
||||
* 交换机
|
||||
* @author sr on 2021-01-06
|
||||
*/
|
||||
public enum ExchangeTypeEnum {
|
||||
|
||||
/** (通用)主题交换机 **/
|
||||
TOPIC,
|
||||
/** 延迟交换机 **/
|
||||
DELAYED;
|
||||
|
||||
|
||||
}
|
||||
12
src/main/java/com/newyetai/mq/constant/MqConstant.java
Normal file
12
src/main/java/com/newyetai/mq/constant/MqConstant.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package com.newyetai.mq.constant;
|
||||
|
||||
/**
|
||||
* mq常数
|
||||
*
|
||||
* @author Carlye
|
||||
* @date 2021/01/14
|
||||
*/
|
||||
public interface MqConstant {
|
||||
|
||||
String NACOS_DISCOVERY_IP = "spring.cloud.nacos.discovery.ip";
|
||||
}
|
||||
Reference in New Issue
Block a user