aio-pika icon indicating copy to clipboard operation
aio-pika copied to clipboard

The message cannot be put back into the queue

Open zhenzi0322 opened this issue 1 year ago • 1 comments

Example:

...
async with message.process(requeue=True, ignore_processed=True):
    a = 1 / 0

Do I put the message back into the queue when I try an exception

zhenzi0322 avatar Jul 13 '22 01:07 zhenzi0322

according to this code, the message will return to the queue.

mosquito avatar Jul 13 '22 09:07 mosquito