[rabbitmq-discuss] Channel.Close w/ subscribed consumers

Aman Gupta rabbitmq at tmm1.net
Sun Nov 29 03:49:57 GMT 2009


With the latest rabbitmq, I'm seeing strange behavior where a
Channel.Close is not acknowledged with a Close-Ok until after
subscribed consumers on that channel stop receiving messages. To
reproduce:

publisher process:
  publish message to test-queue at a high rate (500 messages/second)

subscriber process:
  subscribe to test-queue
  send a Channel.Close on the channel after 1 second

A Channel.CloseOk will not be received until after the publisher
process is stopped and all the messages in the queue are consumed by
the subscriber.

  Aman




More information about the rabbitmq-discuss mailing list