<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">thanks for your prompt�response .</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
i am sending 5 messages by a for loop but the number of basic�acknowledgment that is getting fired 10 times or more</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
delivery tag is coming fine. �but the method for�handling�the event is getting called more than required.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
here is the peace of code that i have written.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">�</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Model.BasicAcks += Model_BasicAcks;</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div>�void Model_BasicAcks(IModel model, BasicAckEventArgs args)</div>
<div>� � � � �{</div><div>� � � � � � �</div><div>� � � � � � �//args.Multiple = true;</div><div>� � � � � � �//Response.Write(args.DeliveryTag);</div><div>� � � � � � �</div><div>� � � � � � �Label1.Text = count.ToString();</div>
<div>� � � � � � �count++;</div><div class="yj6qo ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br></div><div class="adL"><div class="adm" style="margin:5px 0px"></div><div class="im" style="color:rgb(80,0,80)">
<div><br></div><div>� � � � �}</div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote">On Thu, Oct 4, 2012 at 2:37 PM, 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">Hi,<br>
<div class="im"><br>
On 04/10/12 09:19, chetan dev wrote:<br>
&gt; while handling basicack event , the event is getting fired more number<br>
&gt; of times that number of message published to queue<br>
&gt; can some one please tell me about this behaviour?<br>
<br>
</div>You should be able to match up the delivery-tag in each ack with a<br>
published message. In what way exactly does this fail? Can you provide<br>
some tracing output to support your claim that too many basic.ack<br>
messages are sent by the broker?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-Emile<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cheten� Dev <br><br>B.Tech Final Year<br>Dept. of Electrical Engg.<br>IIT Delhi, New Delhi<br>ph 8527333215<br><br>