rabbitmq-java-client
rabbitmq-java-client copied to clipboard
Make connection/channel close idempotent
It could be useful to be able to call Connection/Channel#close several times safely, or to have a flag to know closing is in-progress. See https://github.com/reactor/reactor-rabbitmq/commit/053b2f0e0646b37d64216d55656534759559f055.
This would be just a matter of using an AtomicBoolean and be careful with corner cases.