Hi,
I have experience with rabbitmq with other languages and in general every library has two type to consumes messages: basic and subscribe/poll/listen. One is a manual process in which you consume N messages and that's all, and the other one keep the connection alive waiting for messages.
In the rabbitmq-c lib, I see an example using basic_consume but in the docs I found amqp_poll. So couple of questions:
1. Is amqp_poll a process to keep wating and consuming messages?
2. If this is the case, is there any good example of it to learn from?
My question is in the context that currently we have a loop doing basic_consume and frequently we receive AMQP events of the consumer destroyed/deleted which means the consumer is not longer connected to the queue.
Thanks