rabbitmq-java-client icon indicating copy to clipboard operation
rabbitmq-java-client copied to clipboard

Make connection/channel close idempotent

Open acogoluegnes opened this issue 7 years ago • 0 comments

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.

acogoluegnes avatar Apr 04 '18 14:04 acogoluegnes