fix(mq): 修改RabbitMQ同步交换机名称

- 将同步交换机名称从 sync.exchange 修改为 sync.topic.exchange
- 更新相关配置以反映新的交换机名称
- 维护消息队列配置的一致性和正确性
This commit is contained in:
2026-04-09 16:42:58 +08:00
parent 0343979b5d
commit bf12ed397c
2 changed files with 2 additions and 2 deletions

View File

@@ -35,5 +35,5 @@
} }
] ]
}, },
"lastUpdated": 1775722264733 "lastUpdated": 1775724063193
} }

View File

@@ -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";