<div dir="ltr">Here's a link to the example that won't change when I update the consumer_cancel_example branch:<div><br></div><div><a href="https://github.com/alanxz/rabbitmq-c/blob/eff8134876282f2ba5a48b800109e300bcb3474f/examples/amqp_consumer.c">https://github.com/alanxz/rabbitmq-c/blob/eff8134876282f2ba5a48b800109e300bcb3474f/examples/amqp_consumer.c</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 4:00 PM, Alan Antonuk <span dir="ltr"><<a href="mailto:alan.antonuk@gmail.com" target="_blank">alan.antonuk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div class="im"><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><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 class="im"><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><div>Not currently (documentation for rabbitmq-c is something that is actively being worked on currently). That said, I'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" target="_blank">https://github.com/alanxz/rabbitmq-c/blob/consumer_cancel_example/examples/amqp_consumer.c</a><br>
</div><div><br></div>
</div></div></div>
</blockquote></div><br></div>