rust-amqp icon indicating copy to clipboard operation
rust-amqp copied to clipboard

Off by one when handling basic.return frames?

Open Keruspe opened this issue 7 years ago • 2 comments

If I try to publish a message to a queue that no longer exists with the mandatory field set to true, the publish "succeeds", but then if I try to start a consumer, I get a "basic.return" instead of a "basic.consume-ok" thus the creation of the consumer fails.

If mandatory is set to false everything works properly. If I ignore the error the consumer works properly.

Keruspe avatar Nov 05 '16 18:11 Keruspe