[rabbitmq-discuss] suspending and resuming a QueueingConsumer

Matthew Sackman matthew at lshift.net
Thu Jan 14 17:04:34 GMT 2010


Hi Jim,

On Thu, Jan 14, 2010 at 11:19:41AM -0500, Jim Irrer wrote:
> Matthew -
> 
> Thanks for trying but that does not really help.  I want to interrupt a
> free-running
> process that has already posted the read.  To explore this, I modified
> RabbitMQ's
> SimpleConsumer class (below) to post a read (via the nextDelivery method),
> and
> while it is waiting, have another thread close the channel.

Hmm. Could you explain why you're wanting to do this? I'm sufficiently
confused that I'm suspecting there's a better solution to the problem
you're trying to solve.

Matthew




More information about the rabbitmq-discuss mailing list