Matthew -<br><br>Ok - I think I&#39;ll go with the channel close approach.� I was<br>really just checking to make sure that I was not stressing<br>the API in a bad way.<br><br>Thanks for your advice,<br><br>- Jim<br><br clear="all">
Jim Irrer � � <a href="mailto:irrer@umich.edu">irrer@umich.edu</a> � � � (734) 647-4409<br>University of Michigan Hospital Radiation Oncology<br>519 W. William St. � � � � � � Ann Arbor, MI 48103<br>
<br><br><div class="gmail_quote">On Fri, Jan 15, 2010 at 7:28 AM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jim,<br>
<div class="im"><br>
On Thu, Jan 14, 2010 at 01:30:13PM -0500, Jim Irrer wrote:<br>
&gt; Servers generally run in a loop, and in many cases spend most of<br>
&gt; their time (very efficiently) waiting on read. �Given such a server,<br>
&gt; we wish to suspend it before it processes another message.<br>
&gt;<br>
&gt; If there are several servers reading from the same queue, and<br>
&gt; we want to suspend one of them, and if we used the ack-ing manually<br>
&gt; approach, then one message would be held by the suspended server<br>
&gt; and could not be processed by any of the others. �We would like that<br>
&gt; message to instead be processed by one of the other servers. �I suppose<br>
&gt; that the suspended server could write the message back to the queue,<br>
&gt; but that seems a little like a hack.<br>
<br>
</div>Ok, that makes sense. Is there a reason why you prefer suspending and<br>
resuming rather than just stopping/killing a consumer and starting a new<br>
one up?<br>
<br>
>From your description, I&#39;d have thought that closing the channel and<br>
maybe connection too, is the way to go.<br>
<div><div></div><div class="h5"><br>
Matthew<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>