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

Matthias Radestock matthias at lshift.net
Mon Nov 30 12:26:22 GMT 2009


Aman,

Aman Gupta wrote:
> 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.

latest == RabbitMQ 1.7.0?

I don't recall any changes in that area vs 1.6.x

> 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.

Can you send us the complete code to reproduce this?


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list