Emile,<div><br></div><div>Sorry, I should have included that code, but I have a very simple consumer that derives from DefaultBasicConsumer. Are you suggesting I do it in a different manner to verify behavior? I should have mentioned I am using 2.8.6 and running the client and server on the same machine.�</div>

<div><br></div><div>Thanks,</div><div>Mike</div><div><br></div><div><div>internal class FabricNotificationQueueConsumer : DefaultBasicConsumer</div><div>� � {</div><div>� � � � private static readonly Lazy&lt;ILog&gt; logger =</div>

<div>� � � � �</div><div>� � � � internal FabricNotificationQueueConsumer()</div><div>� � � � {� � ��</div><div>� � � � }</div><div><br></div><div>� � � � public override void HandleBasicDeliver(</div><div>� � � � � � string consumerTag,�</div>

<div>� � � � � � ulong deliveryTag,�</div><div>� � � � � � bool redelivered,�</div><div>� � � � � � string exchange,�</div><div>� � � � � � string routingKey,�</div><div>� � � � � � IBasicProperties properties,�</div><div>

� � � � � � byte[] body)</div><div>� � � � {</div><div>� � � � � � logger.Info(&quot;Message!&quot;);</div><div>� � � � }</div><div><br></div><div>� � � � public override void OnCancel()</div><div>� � � � { � � � � � �</div>

<div>� � � � � � � � logger.Value.Warn(&quot;OnCancel!&quot;);� � � � ��</div><div>� � � � }</div><div><br></div><div>� � � � public override void HandleBasicCancelOk(string consumerTag)</div><div>� � � � {</div><div>� � � � � � logger.Value.Warn(&quot;HandleBasicCancelOk!&quot;);</div>

<div>� � � � }</div><div><br></div><div>� � � � public override void HandleBasicCancel(string consumerTag)</div><div>� � � � {</div><div>� � � � � � logger.Value.Warn(&quot;HandleBasicCancel!&quot;);</div><div>� � �}</div>

<br><div class="gmail_quote">On Wed, Sep 19, 2012 at 5:50 AM, 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 Mike,<br>
<br>
On 18/09/12 19:37, Mike Barry wrote:<br>
&gt; I would expect to get a HandleBasicCancel as<br>
&gt; defined in the documentation, however I am only getting an OnCancel. Is<br>
&gt; this expected?<br>
<br>
No, HandleBasicCancel should be called.<br>
<br>
&gt; this.queueConsumer = new FabricNotificationQueueConsumer(this.region,<br>
&gt; this.groupName, this.serializer,<br>
<br>
I&#39;m not able to replicate this problem, which makes me wonder whether<br>
FabricNotificationQueueConsumer might be implicated somehow. Using<br>
DefaultBasicConsumer I can confirm that HandleBasicCancel is correctly<br>
called when the broker issues a basic.cancel. I suggest you try a<br>
simpler example using DefaultBasicConsumer to see if you still get this<br>
error.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-Emile<br>
<br>
<br>
</font></span></blockquote></div><br></div>