Pre Merge pull request !446 from vcoder/4.X

This commit is contained in:
vcoder 2023-11-10 06:38:31 +00:00 committed by Gitee
commit ba6c1b0c35
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -227,6 +227,7 @@ public class QueueUtils {
public static <T> void subscribeBlockingQueue(String queueName, Consumer<T> consumer) { public static <T> void subscribeBlockingQueue(String queueName, Consumer<T> consumer) {
RBlockingQueue<T> queue = CLIENT.getBlockingQueue(queueName); RBlockingQueue<T> queue = CLIENT.getBlockingQueue(queueName);
queue.subscribeOnElements(consumer); queue.subscribeOnElements(consumer);
CLIENT.getDelayedQueue(queue);
} }
} }