mosquito / aio-pika

AMQP 0.9 client designed for asyncio and humans.
https://aio-pika.readthedocs.org/
Apache License 2.0
1.23k stars 187 forks source link

Update example code of rpc tutorial #530

Closed tot0rokr closed 1 year ago

tot0rokr commented 1 year ago

Change to automatically handle acks of queues expecting rpc responses.

If the no_ack flag is False, the task resource is not removed from rabbitmq because the ack of the response message is not processed. The reason why explicit ack was not used is that there is no queue waiting for the ack of response.

coveralls commented 1 year ago

Coverage Status

Coverage: 88.862%. Remained the same when pulling 8c2d0981b5decdc82e6c0122c1c13b029896877e on tot0rokr:master into 12b6f29d3294a07eccef56e00f87711724edfb79 on mosquito:master.