You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Null-proof channel state retrieval in AbstractMetricsCollector
A channel message may have been closed by the time a metrics method is
called (e.g. when cancelling a consumer the metrics collector is called
after the RPC is completed), so the channel state may no longer be
there.
This commit null-proofs methods rely on the channel state retrieval.
Fixes#1592
(cherry picked from commit de6b708)
Conflicts:
src/main/java/com/rabbitmq/client/impl/AbstractMetricsCollector.java
0 commit comments