[zeromq-dev] non-destructive queue iterator?

Steven McCoy steven.mccoy at miru.hk
Mon Aug 12 02:36:06 CEST 2013


On 9 August 2013 13:43, Michael Haberler <mail17 at mah.priv.at> wrote:

> it's unclear how I would replicate the following queue usage:
>
> A queue of pending commands is checked periodically for limit violations;
> however, the queue entries are not consumed
>

You may be able to simulate functionality with a broker, when you need to
evaluate the inbound pending messages, simply consume every message from
the broker and republish.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130811/7b90f8ea/attachment.htm>


More information about the zeromq-dev mailing list