<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>Does rabbitmq-c or SimpleAmqpClient handle consumer cancellation notifications? �</div></div></blockquote><div>�</div><div>At present SimpleAmqpClient does not support consumer cancellation notification.</div>
<div><br></div><div>rabbitmq-c supports consumer cancellation notification, but by default does not enable it, nor does it provide much of an API for consumer cancellation.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div>If so, is there any documentation or examples?</div></div></blockquote><div><br></div><div>Not currently (documentation for rabbitmq-c is something that is actively being worked on currently). That said, I&#39;ve modified the amqp_consumer.c example to support consumer cancellation notification, you can find this modified version here:</div>
<div><a href="https://github.com/alanxz/rabbitmq-c/blob/consumer_cancel_example/examples/amqp_consumer.c">https://github.com/alanxz/rabbitmq-c/blob/consumer_cancel_example/examples/amqp_consumer.c</a><br></div><div><br></div>
</div></div></div>