fix(mq): 修改RabbitMQ同步交换机名称
- 将同步交换机名称从 sync.exchange 修改为 sync.topic.exchange - 更新相关配置以反映新的交换机名称 - 维护消息队列配置的一致性和正确性
This commit is contained in:
@@ -35,5 +35,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lastUpdated": 1775722264733
|
"lastUpdated": 1775724063193
|
||||||
}
|
}
|
||||||
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
public class RabbitMQConfig {
|
public class RabbitMQConfig {
|
||||||
|
|
||||||
// ==================== 常量定义 ====================
|
// ==================== 常量定义 ====================
|
||||||
public static final String SYNC_EXCHANGE = "sync.exchange";
|
public static final String SYNC_EXCHANGE = "sync.topic.exchange";
|
||||||
public static final String SYNC_QUEUE = "sync.queue";
|
public static final String SYNC_QUEUE = "sync.queue";
|
||||||
public static final String SYNC_ROUTING_KEY = "sync.message";
|
public static final String SYNC_ROUTING_KEY = "sync.message";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user