[rabbitmq-discuss] Pub/Sub -- block publisher until all acks received from subscribers?
Nick Martin
nick at faceture.com
Tue Nov 6 19:17:24 GMT 2012
Emile,
Perhaps my wording wasn't clear. I do not want to lose the tasks that are
in the queue. I wish to pause work, not simply throw away work. One way to
achieve a pause effect is to empty the queue. This leads to the problem of
what to do with the remaining tasks that had been in the queue. These still
need to be stored somewhere and they need to be stored reliably so that
when we resume work we can re-queue them and they can be handled by the
workers.
Thanks,
Nick
On Tue, Nov 6, 2012 at 3:12 AM, Emile Joubert <emile at rabbitmq.com> wrote:
> Hi,
>
>
> On 05/11/12 18:59, Nick Martin wrote:
>
>> presents its own issue though. Because I want to just temporarily pause,
>> not actually throw away the work, how do I reliably store the contents
>> of the queue once it has been drained?
>>
>
> A drained queue is empty, so there is no need to store its contents.
>
>
>
> -Emile
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121106/01dce9c7/attachment.htm>
More information about the rabbitmq-discuss
mailing list