[rabbitmq-discuss] [Spam] RabbitMQ .NET Client sometimes hangs up
ryan at acceleration.net
Mon Jun 8 14:05:50 BST 2009
Is the thread throwing an exception before it halts?
Director of Programming Services
2831 NW 41st street, suite B
Gainesville, FL 32606
Office: 352-335-6500 x 124
Andrius Norkaitis wrote:
> I can’t find the problem and how to fix it so your help would be very appreciated.
> Our .net client starts new thread which loops calling ConnectAndListen method (loop is for automatic reconnect). In ConnectAndListen method we create new connection and model, bind to queries and listen for messages ("foreach (BasicDeliverEventArgs ee in subscription)").
> Everything works like it has, but for sometimes unknown reason sometime client does not reconnect and hangs. It's not always and depends on network disturbances, so can’t easily debug. What I figured out, that thread halts after this statement is called:
> using (conn = cf.CreateConnection(serverAddress))
> Any thoughts what can cause it and how to fix it?
> Best regards
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss