<div>Emile,</div><div><br></div>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.<div>
<br></div><div>Thanks,</div><div>Nick</div><div><br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 3:12 AM, Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div class="im"><br>
<br>
On 05/11/12 18:59, Nick Martin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
presents its own issue though. Because I want to just temporarily pause,<br>
not actually throw away the work, how do I reliably store the contents<br>
of the queue once it has been drained?<br>
</blockquote>
<br></div>
A drained queue is empty, so there is no need to store its contents.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
-Emile<br>
<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>