smrchy/rsmq

List non-empty queue

FractalMind opened this issue · 1 comments

I have a cronjob listing all queues and processing them all. But I need to only list non-empty queue to limit the process to relevant queues.

How can I do that?

There would have to be an option for the "listQueues" Method or another method that lists the queue length. Let me think about how to solve that in the best way.