[rabbitmq-discuss] Subscription close may hang

Alexey gmlexx at gmail.com
Fri Jun 27 07:06:32 BST 2014


Hello,

With .NET rabbitmq client v3.3.2 subscription close may hang forever.

Connection open code:

var cf = new ConnectionFactory
{
HostName = replica.EndPoint.Address,
Port = replica.EndPoint.Port,
UserName = mqUsername,
Password = mqPassword,
RequestedHeartbeat = 5
};
var connection = cf.CreateConnection();
Channel = connection.CreateModel();
connection.AutoClose = true;
Subscription = new Subscription(Channel, queueName, false);

Connection close code:

Subscription.Close(); // <----  May hang forever

Is it a bug, or we doing something wrong?

Kind regards,
Alexey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140626/07f3f1ca/attachment.html>


More information about the rabbitmq-discuss mailing list