|
@@ -76,6 +76,12 @@ public class RabbitMQConfig {
|
|
|
public Queue sceneWorkQueue() {
|
|
|
return new Queue(queueNameService.getQueueName(), true, false, false);
|
|
|
}
|
|
|
+ @Bean
|
|
|
+ public Queue workOfflineQueue() {
|
|
|
+ return new Queue(workOffline, true, false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
@Bean
|
|
|
public SimpleMessageListenerContainer doSliceQueueContainer(ConnectionFactory connectionFactory) {
|