<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Please see my replies inline.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><span style="font-family:arial,sans-serif;font-size:13px">What do you mean by &quot;detached&quot;? Was the network disconnected?</span><div>

<br></div><div><i>Detached means -- consumer is not able to process data from queue.</i></div><div><i><br></i></div><div><i>Scenario- when consume is up, it shows in management UI , consumers section of queue.</i></div><div>

<i><br></i></div><div><i>when consumer is detached, in management UI , it no more displays that consumer. when i check with that windows service, it shows service is running fine, but log file for that service shows &quot;SharedQueue closed&quot;.</i></div>

<div><i><br></i></div><div><i>No, the network in up at all time, i don&#39; t know exact reason for disconnection (may be that queue is idle for some time period) . Make a note that, rabbitmq server is hosted in one machine(windows server 2008) and consumer runs from other system (windows server 2003). Both has got same version of rabbit mq server DLLs.</i><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Have you checked the broker logfiles or the OS event log? Does</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&quot;rabbitmqctl report&quot; produce output that you can share?</span><br style="font-family:arial,sans-serif;font-size:13px"><br><i>No i have not checked that, can you tell me location for that log files? and how to use that command, and decode informations.</i><br>

<br><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Does this only happen when running as a service, or does the same happen</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">when the broker is run as a foreground application?</span></div><div><i><br></i></div><div><i>I have not tested consumer/broker in foreground, but i need that in windows service only, so that my problem will be resolved.</i><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">How did you debug the service - what were the results?</span></div><div><br></div><div><i>I have created a console app with same code as service, then manually introduced an exception and tried restarting the consumer (added init code for connection, model, consumer -- Model.BasicConsume(QueueName, autoAck, consumer)), but it abruptly escapes/exits the debug program.</i><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Any other diagnostic information you can provide will help determine the</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">cause.</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><i><span style="font-family:arial,sans-serif;font-size:13px">I have one more error in log file --�</span><font face="arial, sans-serif">�The AMQP operation was interrupted: AMQP close-reason, initiated by Application, code=200, text=&quot;Goodbye&quot;, classId=0, methodId=0, cause=�</font></i></div>

</div><div class="gmail_extra"><br clear="all"><div><div style="text-align:left"><font style="font-family:times new roman,serif;color:rgb(204,0,0);background-color:rgb(255,255,255)"><b>Regards</b></font><br style="font-family:times new roman,serif;color:rgb(204,0,0)">

<font style="font-family:times new roman,serif;color:rgb(204,0,0);background-color:rgb(255,255,255)"><b>Arindam Nayak</b></font><br style="font-family:times new roman,serif;color:rgb(204,0,0)"><font style="font-family:times new roman,serif;color:rgb(204,0,0);background-color:rgb(255,255,255)"><b>Pune�<span></span></b></font><br style="font-family:times new roman,serif;color:rgb(204,0,0)">

<font style="font-family:times new roman,serif;color:rgb(204,0,0);background-color:rgb(255,255,255)"><b>+91 8600491854</b></font><br></div></div>
<br><br><div class="gmail_quote">On 28 August 2013 17:17, Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Hi,<br>
<br>
On 28/08/13 12:15, Arindam Nayak wrote:<br>
&gt; it gets detached from queue and stalls windows service<br>
<br>
&gt; When i tried to debug the service, it does not help<br>
<br>
What do you mean by &quot;detached&quot;? Was the network disconnected?<br>
<br>
Have you checked the broker logfiles or the OS event log? Does<br>
&quot;rabbitmqctl report&quot; produce output that you can share?<br>
<br>
Does this only happen when running as a service, or does the same happen<br>
when the broker is run as a foreground application?<br>
<br>
How did you debug the service - what were the results?<br>
<br>
Any other diagnostic information you can provide will help determine the<br>
cause.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-Emile<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>