Awesome package, this helps us a lot. Just one question that's come up while testing various edge cases:
If prefetch is set to > 1, then you could conceivably have the following scenario:
- Multiple messages are published and delivered to the consumer, pending processing
- Connection is lost (server blip, let's say). Cony gracefully handles reconnection, BUT
- The
amqp.Messages in the deliveries channel reference a channel that is now CLOSED.
How would you suggest handling this case? If we remake the deliveries channel would that imply a NACK on the rabbit server?