mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15:56 +08:00
Pre Merge pull request !446 from vcoder/4.X
This commit is contained in:
commit
ba6c1b0c35
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user