Closed SrikanthBhandary closed 2 years ago
Correct! That is by design.
Hi @wagslane, when I call consumer.Close(), it will shutdown the consumer at once and throw processing message back to queue? If that so, is there a way to shutdown the consumer after it processed all the processing messages?
FYI: There is a proposed change for exactly this https://github.com/wagslane/go-rabbitmq/pull/150
Currently all the messages which are processing will be re-enqueued during the interruption.