Matthew -<br><br>I&#39;m trying to build an infrastructure on top of RabbitMQ that allows<br>an administrator to remotely suspend and resume a server.<br><br>Servers generally run in a loop, and in many cases spend most of<br>
their time (very efficiently) waiting on read.� Given such a server,<br>we wish to suspend it before it processes another message.<br><br>If there are several servers reading from the same queue, and<br>we want to suspend one of them, and if we used the ack-ing manually<br>
approach, then one message would be held by the suspended server<br>and could not be processed by any of the others.� We would like that<br>message to instead be processed by one of the other servers.� I suppose<br>that the suspended server could write the message back to the queue,<br>
but that seems a little like a hack.<br><br>Sorry if I&#39;m not being clear,<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 Thu, Jan 14, 2010 at 12:04 PM, 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 11:19:41AM -0500, Jim Irrer wrote:<br>
&gt; Matthew -<br>
&gt;<br>
&gt; Thanks for trying but that does not really help. �I want to interrupt a<br>
&gt; free-running<br>
&gt; process that has already posted the read. �To explore this, I modified<br>
&gt; RabbitMQ&#39;s<br>
&gt; SimpleConsumer class (below) to post a read (via the nextDelivery method),<br>
&gt; and<br>
&gt; while it is waiting, have another thread close the channel.<br>
<br>
</div>Hmm. Could you explain why you&#39;re wanting to do this? I&#39;m sufficiently<br>
confused that I&#39;m suspecting there&#39;s a better solution to the problem<br>
you&#39;re trying to solve.<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>