How to check if message is delivered to any single queue

594 Views Asked by At

I am using rabbitmq-c lib in linux. I want to so basic request and response. I have used amqp_basic_publish with mandatory field as true, I just want to know is that message is delivered any queue. i want basic c example for that.

1

There are 1 best solutions below

2
On

Just handle AMQP_BASIC_RETURN_METHOD response, for example look into amqps_consumer.c example that comes with rabbitmq-c library.