feat: add group message dispatcher
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user