feat: add group message dispatcher

This commit is contained in:
merlin
2026-02-27 17:55:40 +08:00
parent d64de39541
commit 31ddd5c4fe
6 changed files with 71 additions and 3 deletions

View File

@@ -9,8 +9,15 @@ public class RabbitMQConfig {
public static final String WS_MESSAGE_QUEUE = "ws.message";
public static final String WS_VIDEO_QUEUE = "ws.video";
@Bean
public Queue wsMessageQueue() {
return new Queue(WS_MESSAGE_QUEUE, true); // 持久化队列
}
@Bean
public Queue wsVideoQueue() {
return new Queue(WS_VIDEO_QUEUE, true);
}
}